大约有 56 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0023 秒)
...box = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.cre...
来源: Laya2.0_文档 发布时间: 20210715
...box = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.cre...
来源: Laya2.0_文档 发布时间: 20210714
...te3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone2 = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone3 = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0...
来源: Laya2.0_文档 发布时间: 20210715
... Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone3:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, ...
来源: Laya2.0_文档 发布时间: 20210714
...:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createBox(0.5, 0.5, 0.5))) as MeshSprite3D; box.transform.position = new Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Vector3(0, 45, 0), false, false); //球体 var sphere:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(Primitiv...
来源: Laya2.0_文档 发布时间: 20210715
...裁剪空间的视口 camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2 = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera2.clearColor = new Laya.Vector4(0.0, 0.0, 1.0, 1.0); camera2.transform.translate(new Laya.Vector3(0, 0.15, 0.5)); camera2.normalized...
来源: Laya2.0_文档 发布时间: 20210715
...裁剪空间的视口 camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2 = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera2.clearColor = new Laya.Vector4(0.0, 0.0, 1.0, 1.0); camera2.transform.translate(new Laya.Vector3(0, 0.15, 0.5)); camera2.normalized...
来源: Laya2.0_文档 发布时间: 20210715
...置裁剪空间的视口 camera1.normalizedViewport = new Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera2.clearColor = new Vector4(0.0, 0.0, 1.0, 1.0); camera2.transform.translate(new Vector3(0, 0.15, 0.5)); camera2.normalized...
来源: Laya2.0_文档 发布时间: 20210715
... ```typescript //新建四个mesh var box = Laya.PrimitiveMesh.createBox(0.5, 0.5, 0.5); var capsule = Laya.PrimitiveMesh.createCapsule(0.25, 1, 10, 20); var cylinder = Laya.PrimitiveMesh.createCylinder(0.25, 1, 20); var cone = Laya.PrimitiveMesh.createCone(0.25, 0.75); var index = 0; //...............
来源: Laya2.0_文档 发布时间: 20210714
... ```typescript //新建四个mesh var box = Laya.PrimitiveMesh.createBox(0.5, 0.5, 0.5); var capsule = Laya.PrimitiveMesh.createCapsule(0.25, 1, 10, 20); var cylinder = Laya.PrimitiveMesh.createCylinder(0.25, 1, 20); var cone = Laya.PrimitiveMesh.createCone(0.25, 0.75); var index = 0; //...............
来源: Laya2.0_文档 发布时间: 20210715