大约有 1,194 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0051 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
...laya/components/Component.ts:86 Returns boolean boundsMax get boundsMax(): Vector3 set boundsMax(value: Vector3): void Defined in laya/d3/component/Volume/Volume.ts:69 primitive包围盒max Returns Vector3 Defined in laya/d3/component/Volume/Volume.ts:76 primitive包围盒max Parameters value: Vecto...
来源: Laya3.0_api 发布时间: 20231115
...ponents/Component.ts:24 获取所属Node节点。 probeCounts probeCounts: Vector3 Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:12 probeStep probeStep: Vector3 Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:13 Optional runInEditor runInEditor: boolean Inherited ...
来源: Laya3.0_api 发布时间: 20231115
...dChild(new Laya.Camera(0, 0.1, 550))); camera.transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clearColor = new Laya.Vector4(1, 1...
来源: Laya_社区 发布时间: 20170504
...laya/d3/physicsCannon/CannonHitResult.ts:17 碰撞分数。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonHitResult.ts:15 碰撞法线。 point point: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonHitResult.ts:13 碰撞点。 succeeded succeeded: bool...
来源: Laya3.0_api 发布时间: 20231102
... Defined in laya/d3/physics/HitResult.ts:17 碰撞分数。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physics/HitResult.ts:15 碰撞法线。 point point: Vector3 = new Vector3() Defined in laya/d3/physics/HitResult.ts:13 碰撞点。 succeeded succeeded: boolean = false Defined in l...
来源: Laya3.0_api 发布时间: 20231115
....Camera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLigh...
来源: Laya2.0_文档 发布时间: 20210714
....addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.translate(new Laya.Vector3(-5, 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene...
来源: Laya_示例 发布时间: 20241118
为什么动态设置聚光灯朝向无效呢 var tar = new Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLi...
来源: Laya_社区 发布时间: 20171105
为什么动态设置聚光灯朝向无效呢 var tar = new Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLi...
来源: Laya_社区 发布时间: 20171105
...nsformations Constructors constructor new StaticPlaneColliderShape(normal: Vector3, offset: number): StaticPlaneColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/StaticPlaneColliderShape.ts:22 创建一个新的 StaticPlaneColliderShape 实例。 Parameters normal: V...
来源: Laya3.0_api 发布时间: 20231115