大约有 238 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...; //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 4, 8)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLi...
来源: Laya_社区 发布时间: 20180307
...; //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position = new Laya.Vector3(0, 5, 23); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), true, false); //设置摄像机视野范围(角度) camera.fieldOfView = 35; //设置背景颜...
来源: Laya_社区 发布时间: 20180426
...jd); tf.translate(thisp.x,thisp.y); var otf:Matrix=new Matrix();//photoimg.transform?photoimg.transform:new Matrix(); //trace("jjjj1",photoimg.x,photoimg.y,photoimg.width,photoimg.height,photoimg.rotation); photoimg.transform=otf.concat(tf); image图片 通过矩阵旋转, bug1 如果设置缩放 ...
来源: Laya_社区 发布时间: 20161124
...addChild(new 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 = ne...
来源: Laya_社区 发布时间: 20210103
# LayaAir3D中的Transform变换 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...
来源: Laya2.0_文档 发布时间: 20210715
# LayaAir3D中的Transform变换 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...
来源: Laya2.0_文档 发布时间: 20210714
# LayaAir3D中的Transform变换 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...
来源: Laya2.0_文档 发布时间: 20210715
...ate(null, function(sp) { //let obj = sp; let obj = scene.addChild(sp); obj.transform.scale = new Laya.Vector3(4, 4, 4); obj.transform.rotate(new Laya.Vector3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次...
来源: Laya_社区 发布时间: 20200611
... scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren dra...
来源: Laya3.0_api 发布时间: 20231102
... scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren dra...
来源: Laya3.0_api 发布时间: 20231102