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

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

361. laya.d3.component.volume.Volume_API3.0 [ 83%]

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

362. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 83%]

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

363. 正交摄像机裁剪问题 [ 83%]

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

364. laya.d3.physicscannon.CannonHitResult_API3.0 [ 83%]

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

365. laya.d3.physics.HitResult_API3.0 [ 83%]

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

366. IDE创建3D示例项目(TypeScript-3D基础(TS)-快速开始一个LayaAir3D项目) [ 83%]

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

367. 自定义shader-地形shader [ 83%]

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

368. 为什么动态设置聚光灯朝向无效呢 [ 83%]

为什么动态设置聚光灯朝向无效呢 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

369. 为什么动态设置聚光灯朝向无效呢 [ 83%]

为什么动态设置聚光灯朝向无效呢 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

370. laya.d3.physics.shape.StaticPlaneColliderShape_API3.0 [ 83%]

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