大约有 613 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(242) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_社区(20) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器...
来源: Laya3.0_api 发布时间: 20231115
...h/SkinMeshForGraphic.ts:22 矩阵 useUvTransform useUvTransform: boolean = false Inherited from MeshData.useUvTransform Defined in laya/ani/bone/canvasmesh/MeshData.ts:38 是否有uv变化矩阵 uvTransform uvTransform: Matrix Inherited from MeshData.uvTransform Defined in laya/ani/bone/canvasmesh/M...
来源: Laya3.0_api 发布时间: 20231115
...射器速度随机值 colorComponentInter colorComponentInter: boolean = false Defined in laya/particle/ParticleSetting.ts:86 false代表RGBA整体插值,true代表RGBA逐分量插值 disableColor disableColor: boolean = false Defined in laya/particle/ParticleSetting.ts:88 false代表使用参数...
来源: Laya3.0_api 发布时间: 20231115
...ed By VertexBuffer3D(byteLength:int, bufferUsage:int, canRead:Boolean = false, dateType:int) 创建一个 VertexBuffer3D,不建议开发者使用并用VertexBuffer3D.create()代替 实例。 VertexBuffer3D bind():Boolean[override] VertexBuffer3D destroy():void[override] VertexBuffer3D ge...
来源: Laya2.0_api 发布时间: 20190513
...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 getBodyCount getBodyCount(): number Defined in laya/physics/Physics.ts:216 获得刚体总数量 Returns number getContactCount getContactCount(): number Defined in laya/physics/Physics.ts:221 获得碰撞总数量 R...
来源: Laya3.0_api 发布时间: 20231115
...界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物理更新时机,自己调用Physics.update Physics event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getBodyCount():int获得刚体总数量Physics getContactCount():int...
来源: Laya2.0_api 发布时间: 20190513
...a/components/AnimatorState2D.ts:45 动画播放速度 yoyo yoyo: boolean = false Defined in laya/components/AnimatorState2D.ts:65 是否为一次正播放,一次倒播放模式 Accessors clip get clip(): AnimationClip2D | null set clip(value: AnimationClip2D | null): void Defined in laya/component...
来源: Laya3.0_api 发布时间: 20231115
...设置前 this.sound.autoPlay = true; //自动播放 this.sound.isMusic = false; //是否为背景音乐 } } 2.代码创建SoundNode SoundNode节点在运行时只有声音效果,如果不想在IDE中添加并拖拽到装饰器暴露的属性入口,做这么繁琐的操作,那可以通过代...
来源: Laya3.0_文档 发布时间: 20251010
...ited Public Properties PropertyDefined By collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falseRopeJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int...
来源: Laya2.0_api 发布时间: 20190513
...ion:VertexDeclaration, vertexCount:int, bufferUsage:int, canRead:Boolean = false) 创建一个 VertexBuffer3D,不建议开发者使用并用VertexBuffer3D.create()代替 实例。 VertexBuffer3D _bind():voidBuffer bindWithIndexBuffer(ib:IndexBuffer3D):void 和索引缓冲一起绑定。 VertexBu...
来源: laya_api 发布时间: 20170929