大约有 1,194 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0045 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
... Laya.DirectionLight; //方向光的颜色 directionLight.color = new Laya.Vector3(1, 1, 1); //设置平行光的方向 var mat = directionLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; ``` **setForward** 平行光的方...
来源: Laya2.0_文档 发布时间: 20210714
...de(octree:BoundsOctree, parent:BoundsOctreeNode, baseLength:Number, center:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode add(object:IOctreeObject):Boolean 添加指定物体。 BoundsOctreeNode getBound():BoundBox 获取包围盒。 BoundsOctreeNode getCollidingWithBound...
来源: Laya2.0_api 发布时间: 20190513
...se1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var material = warehouseMeshSprite3D1.meshRender.mater...
来源: Laya_社区 发布时间: 20171226
...ro-mon_1129.lm")); roleMan.transform.localScale = new Vector3(0.01, 0.01, 0.01); roleMan.transform.localPosition = new Vector3(0, -0.5, -3); scene.addChild(roleMan); 男角色的武器模型是:hero-mon_1129wuqi.lm 2017-04-01 ...
来源: Laya_社区 发布时间: 20170401
...1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var mesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/staticModel/sphere/sph...
来源: Laya_社区 发布时间: 20161201
...isTransparent: boolean Returns IRenderQueue createBounds createBounds(min: Vector3, max: Vector3): any Implementation of IRenderOBJCreate.createBounds Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderOBJCreateUtil.ts:54 Parameters min: Vector3 max: Vector3 Returns any createCameraCullInfo createC...
来源: Laya3.0_api 发布时间: 20231115
...isTransparent: boolean Returns IRenderQueue createBounds createBounds(min: Vector3, max: Vector3): any Implementation of IRenderOBJCreate.createBounds Defined in laya/d3/RenderObjs/RenderObj/RenderOBJCreateUtil.ts:53 Parameters min: Vector3 max: Vector3 Returns any createCameraCullInfo createCameraC...
来源: Laya3.0_api 发布时间: 20231115
...Parameters sceneShaderData: ShaderData Returns void scissor get scissor(): Vector4 set scissor(scissor: Vector4): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ.ts:72 Returns Vector4 Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ.ts:67 Parameters scissor: Vec...
来源: Laya3.0_api 发布时间: 20231115
...0)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //方向光 var directionLight = new Laya.DirectionLight(); ...
来源: Laya_社区 发布时间: 20201120
...ight()) as DirectionLight; //方向光的颜色 directionLight.color = new Vector3(1, 1, 1); //设置平行光的方向 var mat:Matrix4x4 = directionLight.transform.worldMatrix; mat.setForward(new Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; ``` **setForward** 平行光...
来源: Laya2.0_文档 发布时间: 20210715