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

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

1. laya.ani.AnimationPlayer_API3.0 [ 100%]

... in laya/ani/AnimationPlayer.ts:65 是否缓存 playbackRate playbackRate: number = 1 Defined in laya/ani/AnimationPlayer.ts:67 播放速率 returnToZeroStopped returnToZeroStopped: boolean Defined in laya/ani/AnimationPlayer.ts:69 停止时是否归零 Accessors cacheFrameRate get cacheFrameRate():...

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

2. laya.ani.AnimationPlayer [ 99%]

...eRate : int 获取默认帧率 AnimationPlayer  cacheFrameRateInterval : Number[read-only] 获取缓存帧率间隔时间 AnimationPlayer  cachePlayRate : Number 获取缓存播放速率。 AnimationPlayer  currentAnimationClipIndex : int[read-only] 获取当前动画索引 AnimationPlayer  ...

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

3. socket大型项目回调 [ 99%]

...-websocket'; private JS_WS_CLIENT_VERSION:string = '0.0.5'; private RES_OK:number = 200; private RES_FAIL:number = 500; private RES_OLD_CLIENT:number = 501; private socket:Laya.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}...

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

4. laya.ani.AnimationTemplet_API3.0 [ 98%]

...a/ani/AnimationTemplet.ts:127 Returns AnimationTemplet Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否在...

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

5. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 98%]

...{ regClass, property } = Laya; @regClass() class Animal { private _weight: number = 0; @property( { type : Number } ) get weight() : number { return this._weight; } set weight(value: number) { this._weight = value; } } 2.3 是否序列化保存 通过装饰器定义为组件属性后,默认状态...

来源: Laya3.0_文档 发布时间: 20241014

6. laya.resource.HTMLCanvas_API3.0 [ 98%]

...value createCanvas: boolean = false Returns HTMLCanvas Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否在...

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

7. laya.resource.Texture_API3.0 [ 98%]

... constructor new Texture(source?: Texture | BaseTexture, uv?: ArrayLike<number>, sourceWidth?: number, sourceHeight?: number): Texture Overrides Resource.__constructor Defined in laya/resource/Texture.ts:228 创建一个 Texture 实例。 Parameters Default value source: Texture | BaseTexture ...

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

8. laya.display.Input [ 98%]

...r": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

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

9. laya.utils.TimeLine [ 98%]

...时间轴动画的类。 Public Properties PropertyDefined By  scale : Number = 1 缩放动画播放的速度。TimeLine  total : int[read-only] 得到总帧数。 TimeLinePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  addLabel(label:String, offs...

来源: laya_api 发布时间: 20170929

10. laya.utils.TimeLine_API3.0 [ 98%]

...nce pause play removeLabel reset resume to from to Properties scale scale: number = 1 Defined in laya/utils/TimeLine.ts:45 缩放动画播放的速度。 Accessors total get total(): number Defined in laya/utils/TimeLine.ts:397 得到总帧数。 Returns number Methods addLabel addLabel(label: strin...

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