大约有 919 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0051 秒)
Laya_社区(468) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(14)
...dChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya...
来源: Laya2.0_文档 发布时间: 20210715
...ddChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vec...
来源: Laya2.0_文档 发布时间: 20210714
...(0, 0.1, 100); scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); let directionLight = new Laya.DirectionLight(); scene.addChild(directionLight); let mat = directionLight.transform.worldMatrix; mat.setFo...
来源: Laya_社区 发布时间: 20200915
...系 LayaAir3 • 2023-02-20 14:32 @仓颉:已经重现了,问题是Laya.Vector3.ZERO被修改了 把代码 var ray:Laya.Ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); 改为 var ray:Laya.Ray = new Laya.Ray(new Laya.Vector3(0,0,0),new Laya.Vector3(0,0,0)); 就没问题了 仓颉 • 2023-...
来源: Laya_社区 发布时间: 20230216
...ddChild(new Laya.DirectionLight()); directionLight.ambientColor = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.specularColor = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor = new Laya.Vector3(1.6, 1.6, 1.6); directionLight.direction = new Laya.Vector3(1, -1, 0); //加载到场景 s...
来源: Laya_社区 发布时间: 20180108
...返回-1,包涵;0,相交;1,不相交 BoundFrustum containsPoint(point:Vector3):int 与点的位置关系。返回-1,包涵;0,相交;1,不相交 BoundFrustum equalsBoundFrustum(other:BoundFrustum):Boolean 判断是否与其他锥截体相等。 BoundFrustum equalsObj(obj:Object):Boolean 判...
来源: laya_api 发布时间: 20170929
...返回-1,包涵;0,相交;1,不相交 BoundFrustum containsPoint(point:Vector3):int 与点的位置关系。返回-1,包涵;0,相交;1,不相交 BoundFrustum equalsBoundFrustum(other:BoundFrustum):Boolean 判断是否与其他锥截体相等。 BoundFrustum equalsObj(obj:Object):Boolean 判...
来源: Laya2.0_api 发布时间: 20190513
...实例。 Node addInputChild(node:Node):NodeNode addLine(startPosition:Vector3, endPosition:Vector3, startColor:Color, endColor:Color):void 增加一条线。 PixelLineSprite3D addLines(lines:Vector.<PixelLineData>):void 添加多条线段。 PixelLineSprite3D callLater(method:Function...
来源: Laya2.0_api 发布时间: 20190513
...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