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

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

231. laya.physics.ChainCollider_API3.0 [ 51%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

232. laya.physics.joint.PrismaticJoint_API3.0 [ 51%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节控制点,是相对于自身刚体左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya...

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

233. laya.d3.core.light.Light_API3.0 [ 51%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEdi...

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

234. LayaAirIDE可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 50%]

...,不需要写一行代码。 从这个章节里,我们就了解一下脚本中有哪些物理生命周期方法。 > 如果有对生命周期也不理解新手,请先去Layabox官网文档组件化开发相关文档去补一下基础。 ### 3.1 onTriggerEnter `onTriggerEnter`是在发生...

来源: Laya2.0_文档 发布时间: 20210714

235. laya.components.Animator2D_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

236. laya.d3.component.Animator_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator.ts:95 裁剪模式 owner owner: Node Inherited from Component.owner Defined in laya/components/Component...

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

237. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Defined in laya/d3/physics/constraints/ConstraintComponent.ts:81 连接两个物体是否进行碰撞检测 owner owner...

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

238. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

239. laya.physics.joint.WheelJoint_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/WheelJoint.ts:18 [首次设置有效]关节链接点,是相对于自身刚体左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya/phy...

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

240. 从Unity中编辑并导出摄像机(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 50%]

...获取后我们还可以对它进行移动旋转、设置天空盒、添加脚本等操作。 ​ 代码如下: ```js class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; ...

来源: Laya2.0_文档 发布时间: 20210714