• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 127 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0025 秒)

41. laya.display.css.SpriteStyle_API3.0 [ 85%]

...ivotY rotation scaleX scaleY scrollRect skewX skewY viewport EMPTY Methods recover reset create Constructors constructor new SpriteStyle(): SpriteStyle Defined in laya/display/css/SpriteStyle.ts:38 Returns SpriteStyle Properties alpha alpha: number Defined in laya/display/css/SpriteStyle.ts:28 透...

来源: Laya3.0_api 发布时间: 20231115

42. laya.resource.Resource [ 84%]

...te():void 开始资源激活。ResourceEvents Event Summary Defined By  recovered完成资源激活后调度。Resource  recovering开始资源激活时调度。Resource  released释放资源时调度。ResourceProperty Detail_loadedpropertyprotected var _loaded:Boolean = false是否已加载...

来源: laya_api 发布时间: 20170422

43. laya.d3.core.render.InstanceRenderElement_API3.0 [ 84%]

...InvertFront Methods _convertSubShader _renderUpdatePre clear compileShader recover updateInstanceData create Constructors constructor new InstanceRenderElement(): InstanceRenderElement Overrides RenderElement.constructor Defined in laya/d3/core/render/InstanceRenderElement.ts:48 Returns InstanceRend...

来源: Laya3.0_api 发布时间: 20231115

44. laya.utils.Pool_API3.0 [ 84%]

...Sign createByClass getItem getItemByClass getItemByCreateFun getPoolBySign recover recoverByClass Methods Static clearBySign clearBySign(sign: string): void Defined in laya/utils/Pool.ts:26 清除对象池的对象。 Parameters sign: string 对象类型标识字符。 Returns void Static createByCl...

来源: Laya3.0_api 发布时间: 20231115

45. laya.display.cmd.FillTextCmd_API3.0 [ 83%]

...operties x y ID Accessors align color font stroke strokeColor text Methods recover create Properties x x: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:19 开始绘制文本的 x 坐标位置(相对于画布)。 y y: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:23 开始绘制...

来源: Laya3.0_api 发布时间: 20231115

46. Laya.Pool.getItemByClass 找不到上次释放的对象 [ 81%]

...上次释放的对象 为了学习Laya.Pool.getItemByClass 和 Laya.Pool.recover ,做了一个简单的测试,代码如下:  //从POOL里获取BackGround对象 var bg1:BackGround= Laya.Pool.getItemByClass("mybg",BackGround); Laya.stage.addChild(bg1); console.log("bg1->",bg1); //对象放...

来源: Laya_社区 发布时间: 20180823

47. laya.maths.Point [ 81%]

...(x,y)的距离。 Point  normalize():void 标准化向量。 Point  recover():void 回收到对象池,方便复用 Point  reset():Point 重置 Point  setTo(x:Number, y:Number):Point 将 Point 的成员设置为指定值。 Point  toString():String返回包含 x 和 y 坐标的值的字...

来源: Laya2.0_api 发布时间: 20190513

48. laya.utils.Pool [ 79%]

...:Array[static] 根据对象类型标识字符,获取对象池。 Pool  recover(sign:String, item:Object):void[static] 将对象放到对应类型标识的对象池中。 PoolMethod DetailclearBySign()method public static function clearBySign(sign:String):void 清除对象池的对象。 Paramete...

来源: laya_api 发布时间: 20170929

49. laya.display.cmd.ClipRectCmd [ 78%]

...: Number Y 轴偏移量。 ClipRectCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 ClipRectCmdPublic Constants ConstantDefined By  ID : String = ClipRect[static] ClipRectCmdProperty Detailheightpropertypublic var height:Number 高度。 widthproperty public var width:Nu...

来源: Laya2.0_api 发布时间: 20190513

50. laya.display.cmd.ScaleCmd [ 78%]

...mber 垂直方向缩放值。 ScaleCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 ScaleCmdPublic Constants ConstantDefined By  ID : String = Scale[static] ScaleCmdProperty DetailpivotXpropertypublic var pivotX:Number (可选)水平方向轴心点坐标。 pivotYprop...

来源: Laya2.0_api 发布时间: 20190513