大约有 109 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0040 秒)
...camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 5, 0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLig...
来源: Laya_社区 发布时间: 20180717
...ar camera = scene.addChild(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()); di...
来源: Laya_示例 发布时间: 20241118
...camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 5, 0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLig...
来源: Laya_社区 发布时间: 20170809
...tScaleY identity invert invertTransformPoint recover rotate scale setTo setTranslate skew toString transformPoint transformPointN translate create mul mul16 Constructors constructor new Matrix(a?: number, b?: number, c?: number, d?: number, tx?: number, ty?: number, nums?: number): Matrix Defined in...
来源: Laya3.0_api 发布时间: 20231115
...ambientColor = new Laya.Vector3(1, 1, 1); camera.transform.translate(new Laya.Vector3(0,0.8,1.5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); // var camera:Laya.Camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Came...
来源: Laya_社区 发布时间: 20190531
...t.TestSceneUI { scene3d:Laya.Scene3D; sp:Laya.Sprite3D; sp2:Laya.Sprite3D; translateA = new Laya.Vector3(-0.05, 0, 0); translateD = new Laya.Vector3( 0.05, 0, 0); constructor() { super(); //添加3D场景 var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; this.scene3d...
来源: Laya_社区 发布时间: 20190618
... scene_.addChild(cube_2); cube_2.transform.translate(new Laya.Vector3(0,0,-5)); scene_.addChild(spotLight_); scene_.addChild(camera_); scene_.addChild(cube_); Laya.stage.addChild(scene_); ...
来源: Laya_社区 发布时间: 20200506
...给 另一个位置 应该怎么写,怎么才能生效呢? A.transform.translate(B.transform.position,false); A.transform.rotate(B.transform.rotation,false,false) ; 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20171227
...rops":{"name":""}, "customProps":{"translate":[0,0,0],"rotation":[0,0,0,-1],"scale":[1,1,1]}, "child":[ { "type":"Sprite3D", "props":{"isStatic":false,"name":"Effect_yu_j...
来源: Laya_社区 发布时间: 20170605
...nsform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; camera.clearFlag = Laya.BaseCamera.CLEARFLAG_DEPTHONLY; var pos = new Laya.Vector3(30...
来源: Laya_社区 发布时间: 20191206