大约有 412 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
Laya_社区(172) Laya3.0_api(85) Laya3.0_文档(67) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
...gleton : Boolean[read-only] 获取是否为单实例组件。 Component owner : Node [只读]获取所属Node节点。 ComponentPublic Methods MethodDefined By Component() 创建一个新的 Component 实例。 Component destroy():void 销毁组件 Component onReset():void 重置组件...
来源: Laya2.0_api 发布时间: 20190513
...constructor Properties _extra _singleton anchor collideConnected otherBody owner runInEditor scriptPath selfBody Accessors awaked destroyed enableLimit enableMotor enabled hideFlags id joint lowerAngle maxMotorTorque motorSpeed upperAngle Methods _initialize _setOwner destroy hasHideFlag onAdded onA...
来源: Laya3.0_api 发布时间: 20231115
... } = Laya; @regClass() export class DayNight extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.DirectionLight2D; private dayTime: number = 0; private dayDuration: number = 24; // 一个完整周期的秒数 private displayText: Laya.Text; // 文本显示当前时间 onAwake()...
来源: Laya3.0_文档 发布时间: 20251010
...地面都设置了弹力 TestScript2 onAwake this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collis...
来源: Laya_社区 发布时间: 20200512
...Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseMaterial.CULL_NONE; var imageData = this.canva...
来源: Laya_社区 发布时间: 20180814
... Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor radius restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onE...
来源: Laya3.0_api 发布时间: 20231115
...how Inherited Public Methods MethodDefined By ShurikenParticleRenderer(owner:ShuriKenParticle3D) 创建一个 ShurikenParticleRender 实例。 ShurikenParticleRenderer _destroy():void[override] ShurikenParticleRenderer _needRender(boundFrustum:BoundFrustum):Boolean[override] ShurikenPartic...
来源: Laya2.0_api 发布时间: 20190513
...某个架的时候,我获取点击的子节点改变反照率颜色 this.owner.getChildAt(0).meshRenderer.sharedMaterial.albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); 然后,所有架子的这个子节点都改变了. 附件 : --> 2019-04-16 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190416
... Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onE...
来源: Laya3.0_api 发布时间: 20231115
...LightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStren...
来源: Laya3.0_api 发布时间: 20231115