大约有 286 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(162) Laya2.0_文档(43) Laya_示例(41) Laya3.0_api(12) laya_api(10) Laya2.0_api(10) Laya3.0_文档(7) Laya2.0_示例(1)
...tY:Number = 0):TransformCmd 替换绘图的当前转换矩阵。 Graphics translate(tx:Number, ty:Number):TranslateCmd 重新映射画布上的 (0,0) 位置。 GraphicsProperty Detailheightpropertyheight:Number 表示显示对象的高度,以像素为单位。 Implementation public functi...
来源: Laya2.0_api 发布时间: 20190513
...Child(new Laya.Camera(0, 0.1, 100))) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 3, 3)); this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new ...
来源: Laya_社区 发布时间: 20180307
...ew Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 30)); //方向光 const directionLight =this.newScene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Ve...
来源: Laya_社区 发布时间: 20210103
...ar camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们点击加载场景,再来看状态。 (图2) 在场景显示出来后,我们可以看到在 **Stat** 面板中 **...
来源: Laya2.0_文档 发布时间: 20210715
...mera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们点击加载场景,再来看状态。 (图2) 在场景显示出来后,我们可以看到在 **Stat** 面板中 **GPUMe...
来源: Laya2.0_文档 发布时间: 20210715
...ne.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们点击加载场景,再来看状态。 (图2) 在场景显示出来后,我们可以看到在 **Stat** 面板中 **...
来源: Laya2.0_文档 发布时间: 20210715
...dChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 2, 5)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.Dire...
来源: Laya_社区 发布时间: 20180820
...m.position = new Laya.Vector3(0, 0, 0); //立方体的平移 box.transform.translate(new Laya.Vector3(1, 1, 1)); //立方体的旋转 box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //立方体的缩放 box.transform.setWorldLossyScale(new Laya.Vector3(2, 2, 2)); 3.3 属性设置 通...
来源: Laya3.0_文档 发布时间: 20251010
...rent.png [2023-06-20 18:19:19.050] [resource_tool] [info] UV scaling 1, 1, Translation 0, 0 [2023-06-20 18:19:19.050] [resource_tool] [info] fbx cal min -110.99998950958252, -1.0000009536743164, -176.49998950958252 [2023-06-20 18:19:19.050] [resource_tool] [info] fbx cal max 210.99998950958252, 374....
来源: Laya_社区 发布时间: 20230621
...form.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.translate(new Laya.Vector3(-5, 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit...
来源: Laya_示例 发布时间: 20251130