大约有 648 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0053 秒)
Laya_社区(363) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(13) laya_api(5) Laya2.0_api(4)
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey...
来源: Laya_示例 发布时间: 20241117
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Vector3Keyframe" Vector3Keyframe Class Vector3Keyframe Vector3Keyframe 类用于创建三维向量关键帧实例。 Hierarchy Keyframe Vector3Keyframe Implements IClone Index Constructors constructor Properties inTangent inW...
来源: Laya3.0_api 发布时间: 20231115
...rite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); private translateD: Laya.Vector3 = new Laya.Vector3(-0.2,...
来源: Laya_社区 发布时间: 20200917
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-10, 0, 0), true, false); camera.addComponent(CameraMoveScript); var renderTargetCamera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); renderTargetCamera.transfo...
来源: Laya_示例 发布时间: 20241117
...scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们...
来源: Laya2.0_文档 发布时间: 20210715
...项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.cur...
来源: Laya_示例 发布时间: 20241117
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete...
来源: Laya_示例 发布时间: 20241117
...scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们...
来源: Laya2.0_文档 发布时间: 20210715
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direct...
来源: Laya_示例 发布时间: 20241117
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.85, 1.7)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya...
来源: Laya_示例 发布时间: 20241117