大约有 278 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0071 秒)
...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
...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
...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
...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
...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
...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
...-5所示: (动图12-5) 3.2.6 标签 label 碰撞体的标签,用于脚本物理碰撞事件中的碰撞体识别,当自定义了标签名后,如图12-6所示。 (图12-6) 应对的示例代码: onTriggerEnter(other: any): void { //other是碰撞到的碰撞体对象,根据碰撞到...
来源: Laya3.0_文档 发布时间: 20250103
...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
...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
...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