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

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

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

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

123. 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_文档 发布时间: 20251010

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

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

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

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

128. albedoColor,是会把所有用到这个材质的反照率颜色都改变吗? [ 73%]

...某个架的时候,我获取点击的子节点改变反照率颜色 this.owner.getChildAt(0).meshRenderer.sharedMaterial.albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); 然后,所有架子的这个子节点都改变了.   附件 : --> 2019-04-16 添加评论 免费帖 --> 分享 微博 QZONE ...

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

129. laya.physics.EdgeCollider_API3.0 [ 73%]

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

130. laya.d3.core.light.Light_API3.0 [ 73%]

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