大约有 1,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)
Laya_社区(831) Laya3.0_api(384) Laya2.0_api(195) laya_api(183) Laya2.0_文档(39) Laya3.0_文档(18) Laya2.0_示例(2) Laya_示例(2)
...15 播放总时间,不受speed为负数的影响 Accessors animatorState get animatorState(): AnimatorState2D Defined in laya/components/AnimatorPlayState2D.ts:54 动画状态机。 Returns AnimatorState2D duration get duration(): number Defined in laya/components/AnimatorPlayState2D.ts:35 当前...
来源: Laya3.0_api 发布时间: 20231115
...ame(Laya.stage); if (!this._roomId && this.getGets()["roomId"]) { this._roomId = parseInt(this.getGets()["roomId"]); } if (this._roomId) { game.enterRoom(this._...
来源: Laya_社区 发布时间: 20181213
... [read-only] 获取时间帧率。 Implementation public function get frame():FrameOverTimerandomRowproperty public var randomRow:Boolean是否随机行,type为1时有效。startFrameproperty startFrame:StartFrame [read-only] 获取开始帧率。 Implementation public functi...
来源: laya_api 发布时间: 20170929
...的Demo 2020-06-19 0 1 分享 微博 QZONE 微信 Chenyazhi 赞同来自: get angularVelocity() { if (this._btColliderObject) { var phtqua = this._btColliderObject.angularVelocity; this._angularVelocity.setValue(phtqua.x, phtqua.y, phtqua.z); } return this._angularVelocity; } get totalForce() { if (...
来源: Laya_社区 发布时间: 20200619
...em); //方案二 var temp:IA = <IA>item; items.push(temp); } 5.get,set ts里面父类定义的getset,子类必须要全覆盖下,不能只处理get或set,如: class A { protected _id:number = 1; public get id():number { return this._id } public set id(value:number){ ...
来源: Laya_社区 发布时间: 20161109
...ame(Laya.stage); if (!this._roomId && this.getGets()["roomId"]) { this._roomId = parseInt(this.getGets()["roomId"]); } if (this._roomId) { game.enterRoom(this._...
来源: Laya_社区 发布时间: 20181202
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Image[read-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定...
来源: laya_api 发布时间: 20170929
...lEventDic.set("BagUI",{"uiClass": BagUI}); var uiData:Object = panelDic.get("BagUI"); var uiClass:Class = uiData.uiClass; var ui:View = new uiClass(); 如上代码所示:在Object中保存的 Class 应该如何实例化呢? 2017-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171010
...dex Accessors allCompiled variantCount Methods add clear compile contatins getByIndex remove Accessors allCompiled get allCompiled(): boolean Defined in laya/d3/shader/ShaderVariantCollection.ts:140 是否已经全部编译。 Returns boolean variantCount get variantCount(): number Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231102
...cs/shape/ColliderShape.ts:18 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from Co...
来源: Laya3.0_api 发布时间: 20231115