大约有 395 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0039 秒)
Laya_社区(159) Laya3.0_api(85) Laya3.0_文档(63) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
...ructor Properties _extra _singleton collideConnected otherAnchor otherBody owner runInEditor scriptPath selfAnchor selfBody Accessors awaked damping destroyed enabled frequency hideFlags id joint length maxLength minLength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy o...
来源: Laya3.0_api 发布时间: 20231115
...lize()函数才行,这应该是bug。 public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); } 2017-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20170722
3D坐标系转换 Laya.Vector3.transformCoordinate(worldPos, this.owner.transform.localMatrix, this._tempPos); 我想将一个世界坐标转换到某个Sprite3D的本地坐标,上面这种写法,的出来的结果不对,所以问下应该怎么转换 2018-07-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180719
...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_文档 发布时间: 20250214
...地面都设置了弹力 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