大约有 475 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(150) Laya3.0_api(88) Laya2.0_api(75) laya_api(69) Laya2.0_文档(43) Laya_示例(37) Laya3.0_文档(11) Laya2.0_示例(2)
...rivate position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private rotate:Laya.Vector3 = new Laya.Vector3(0, 1, 0); private scale:Laya.Vector3 = new Laya.Vector3(); private rotate1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private scaleDelta:number = 0; privat...
来源: Laya_社区 发布时间: 20190509
...amera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Load...
来源: Laya2.0_文档 发布时间: 20210715
...ocalMatrix localPosition localPositionX localPositionY localPositionZ localRotation localRotationEuler localRotationEulerX localRotationEulerY localRotationEulerZ localRotationW localRotationX localRotationY localRotationZ localScale localScaleX localScaleY localScaleZ owner position rotation rotati...
来源: Laya3.0_api 发布时间: 20231115
...amera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.posit...
来源: Laya_示例 发布时间: 20251130
...到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且用三维向量代表x,y,z的值。两种方法都可以在参数中设置是否为局部空间移动,旋转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, ...
来源: Laya2.0_文档 发布时间: 20210715
...ansform.translate(new Laya.Vector3(0, 5, 5)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = Laya.Vector3(255,255,0.1); camera.addComponent(CameraMoveScript); //添加方向光 var directionLight = sc...
来源: Laya_社区 发布时间: 20180427
...到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且用三维向量代表x,y,z的值。两种方法都可以在参数中设置是否为局部空间移动,旋转。 ```typescript //移动摄像机 camera.transform.translate(new Vector3(0, 3, 3)...
来源: Laya2.0_文档 发布时间: 20210714
...到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且用三维向量代表x,y,z的值。两种方法都可以在参数中设置是否为局部空间移动,旋转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, ...
来源: Laya2.0_文档 发布时间: 20210715
...ansform.translate(new Laya.Vector3(0, 5, 5)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = Laya.Vector3(255,255,0.1); camera.addComponent(CameraMoveScript); //添加方向光 var directionLight = sc...
来源: Laya_社区 发布时间: 20180427
...ra; camera.transform.translate(new Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(0.6, 0.6, 0.6); //加载精灵 var ...
来源: Laya2.0_文档 发布时间: 20210714