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

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

111. laya.physics.joint.DistanceJoint_API3.0 [ 74%]

...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

112. 关于Laya.Component3D脚本生命周期BUG反馈 [ 74%]

...lize()函数才行,这应该是bug。         public _initialize(owner: Laya.Sprite3D): void         {             super._initialize(owner);         }   2017-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

113. 3D坐标系转换 [ 74%]

3D坐标系转换 Laya.Vector3.transformCoordinate(worldPos, this.owner.transform.localMatrix, this._tempPos); 我想将一个世界坐标转换到某个Sprite3D的本地坐标,上面这种写法,的出来的结果不对,所以问下应该怎么转换 2018-07-19 添加评论 免费帖 --> 分...

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

114. laya.components.Component [ 73%]

...gleton : Boolean[read-only] 获取是否为单实例组件。 Component  owner : Node [只读]获取所属Node节点。 ComponentPublic Methods  MethodDefined By  Component() 创建一个新的 Component 实例。 Component  destroy():void 销毁组件 Component  onReset():void 重置组件...

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

115. laya.physics.joint.RevoluteJoint_API3.0 [ 73%]

...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

116. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 73%]

... } = 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

117. 2.6.1物理bug [ 73%]

...地面都设置了弹力   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

118. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 73%]

...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

119. laya.physics.CircleCollider_API3.0 [ 73%]

... 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

120. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 73%]

...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