大约有 104 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0040 秒)
Laya_社区(44) laya_api(15) Laya2.0_文档(14) Laya3.0_api(13) Laya2.0_api(13) Laya_示例(3) Laya3.0_文档(2)
...aya.MeshSprite3D(new Laya.PlaneMesh(10, 10))) as Laya.MeshSprite3D; // box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); // var material: Laya.WaterPrimaryMaterial = new Laya.WaterPrimaryMaterial(); var material:...
来源: Laya_社区 发布时间: 20181030
...//调整胖子的相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从...
来源: Laya2.0_文档 发布时间: 20210715
...//调整胖子的相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从...
来源: Laya2.0_文档 发布时间: 20210714
...n"); //调整胖子的相对旋转,相对位移,以及缩放。 pangzi.transform.localRotation = _rotation; pangzi.transform.localPosition = _position; pangzi.transform.localScale = _scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移除 drag...
来源: Laya2.0_文档 发布时间: 20210714
...a.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, funct...
来源: Laya_社区 发布时间: 20190126
...Game Object ![Game Object](./img/GameObject.png) - name - Static - Layer - Transform 1. Position 2. Rotation 3. Scale - Component - Camera ![Camera](./img/components/InspectorCamera35.png) 1. Clear Flags - Skybox - Solid Color - Depth only - Don't Clear 2. Background 3. Projection - perspective - Fi...
来源: Laya2.0_文档 发布时间: 20200822
...a.BoxColliderShape(b, 0, c); } this.MainScene3D.addChild(cardOne); cardOne.transform.position = pos; cardOne.transform.rotate(new Laya.Vector3(0,0,0), false, false); if(index == 0){ cardOne.meshRenderer.receiveShadow = true; }else{ var unlitMat = new Laya.PBRStandardMaterial(); var texture: Laya.Tex...
来源: Laya_社区 发布时间: 20191223
...cene3D; camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.rotate(new Vector3(10, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //天空盒 BaseMaterial.load("res/threeDimen/skyBox/skyBox1/skyBox.lmat", Handler.crea...
来源: Laya_社区 发布时间: 20181017
...a.MeshSprite3D(new Laya.BoxMesh(0.1, 0.1, 0.1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = materi...
来源: Laya_社区 发布时间: 20180312
...Y scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildr...
来源: Laya3.0_api 发布时间: 20231115