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

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

251. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 47%]

...ate(new Laya.Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight = _scene.addChild(new Laya.DirectionLight()); //光照颜色 directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(n...

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

252. laya.d3.core.MeshRenderer_API3.0 [ 47%]

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

253. laya.physics.RigidBody_API3.0 [ 47%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 category category: number = 1 Defined in laya/physics/RigidBody.ts:54 [只读]碰撞类别,使用2幂次方值指定,有32种不同碰撞类别可用 group group: number = 0 Defined in laya/physics/Rigi...

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

254. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 46%]

...m.rotate(new Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight:DirectionLight = _scene.addChild(new DirectionLight()) as DirectionLight; //光照颜色 directionLight.color = new Vector3(1, 1, 1); directionL...

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

255. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 46%]

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

256. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 46%]

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

257. 2D物理编辑 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...-5所示: (动图12-5) 3.2.6 标签 label 碰撞体标签,用于脚本物理碰撞事件中碰撞体识别,当自定义了标签名后,如图12-6所示。 (图12-6) 应对示例代码: onTriggerEnter(other: any): void { //other是碰撞到碰撞体对象,根据碰撞到...

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

258. laya.d3.core.SimpleSkinnedMeshRenderer_API3.0 [ 46%]

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

259. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 45%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 _updateMark _updateMark: number Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbe.ts:60 修改了值,需要更新shader,需要updateMask对应 owner owner: Node Inherited from Component.o...

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

260. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 45%]

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