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

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

141. 2.6物理问题 [ 72%]

...地面都设置了弹力   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_社区 发布时间: 20200515

142. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 72%]

... Show Inherited Public Methods MethodDefined By  ShurikenParticleRender(owner:ShuriKenParticle3D) 创建一个 ShurikenParticleRender 实例。 ShurikenParticleRender _addShaderDefine(value:int):void 增加Shader宏定义。 BaseRender _removeShaderDefine(value:int):void 移除Shader宏定义...

来源: laya_api 发布时间: 20170929

143. 实体组件系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

...; } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTriggerEnter(other: any, self: any, contact: any): void { //如果被碰到,则移除子弹 this.owner.removeSelf(); } onUpdate(): void { //如果...

来源: Laya3.0_文档 发布时间: 20251010

144. 挂载元素的空间变换没有加上被挂载元素的本身空间变换 [ 72%]

...sform.worldMatrix;                     Matrix4x4.multiply((_owner as Sprite3D)._transform.worldMatrix, avatarWorldMatrix, spriteWorldMatrix);                     spriteTransform.worldMatrix = spriteWorldMatrix; 这是引擎里的更新空间变换代码,被挂载的...

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

145. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 72%]

...ticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked boundsMax boundsMin checkLOD customBatchRenders destroyed enableCustomBatchRender enableMergeBatchRender enableStaticInstanceBatchRender enabled hideFlags id importance probePosit...

来源: Laya3.0_api 发布时间: 20231115

146. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 72%]

...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse awaked breakForce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy get...

来源: Laya3.0_api 发布时间: 20231115

147. laya.physics.joint.WheelJoint_API3.0 [ 71%]

...ructor Properties _extra _singleton anchor axis collideConnected otherBody owner runInEditor scriptPath selfBody Accessors awaked damping destroyed enableLimit enableMotor enabled frequency hideFlags id joint lowerTranslation maxMotorTorque motorSpeed upperTranslation Methods _initialize _setOwner d...

来源: Laya3.0_api 发布时间: 20231115

148. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 71%]

...= Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); L...

来源: Laya3.0_文档 发布时间: 20251010

149. laya.components.Animator2D_API3.0 [ 71%]

...ent Animator2D Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked controller destroyed enabled hideFlags id isPlaying parameters speed Methods _initialize _setOwner addControllerLayer crossFade destroy getDefaultState getParamsvalue gotoAndStop ...

来源: Laya3.0_api 发布时间: 20231115

150. laya.d3.core.light.PointLightCom_API3.0 [ 71%]

...LightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shado...

来源: Laya3.0_api 发布时间: 20231115