大约有 12 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
...function <<<<<<<<报错: //飞机 let plane = scene.getChildByName("plane") as Laya.MeshSprite3D; let character: Laya.CharacterController = plane.addComponent(Laya.CharacterController); let collider_shape_box = new Laya.BoxColliderShape(2.5, 0.8, 0.8); collider...
来源: Laya_社区 发布时间: 20210101
....load("images/bg03.png"); box.meshRender.material = material; //平面 var plane = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(15, 15, 1, 1))); plane.transform.position = new Laya.Vector3(0, 0, 0); var material2 = new Laya.StandardMaterial(); //降低反射率,加强反射贴图反...
来源: Laya_社区 发布时间: 20180103
...Texture = tex; })); //平面加载 let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); plane.transform.position = new Laya.Vector3(0, -2, 0); let planeMat = new Laya.BlinnPhongMaterial(); ...
来源: Laya_社区 发布时间: 20201127
...6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))) as Laya.MeshSprite3D; var planeMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Textur...
来源: Laya_社区 发布时间: 20180820
...sform.worldMatrix = mat; //平面 var plane = this.newScene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))) as Laya.MeshSprite3D; var planeMat = new Laya.BlinnPhongMaterial(); Laya.Textur...
来源: Laya_社区 发布时间: 20201120
... Laya.Vector3(-1.0, -1.0, 1.0)); //平面 var plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(40, 40, 40, 40))); plane.transform.position = new Laya.Vector3(0, -2.0, 0); var planeMat = new Laya.BlinnPhongMat...
来源: Laya_社区 发布时间: 20210103
...,其实是一个box,只不过高度很小,可看成一个平面 var plane = scene.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material = new StandardMaterial(); material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = Texture2D.load("res/bg.png"); ...
来源: Laya_社区 发布时间: 20170314
...,其实是一个box,只不过高度很小,可看成一个平面 var plane:MeshSprite3D = scene.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material:StandardMaterial = new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/threeDimen/layabox.png"); pla...
来源: Laya_社区 发布时间: 20170103
...,其实是一个box,只不过高度很小,可看成一个平面 var plane:MeshSprite3D = scene.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material:StandardMaterial = new StandardMaterial(); material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = ...
来源: Laya_社区 发布时间: 20161223
...建世界平面,添加到加农世界 var groundShape:Object=new CANNON.Plane(); var groundBody:Object=new CANNON.Body({mass: 0, shape: groundShape}); world.add(groundBody); // 运算器步进时长 var timeStep:Object=1.0 / 60.0; box.timer.loop(1000/60,this,cannonUpdate); } private function canno...
来源: Laya_社区 发布时间: 20170331