大约有 162 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0047 秒)
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.2)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector...
来源: Laya_示例 发布时间: 20250221
...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
...d Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeTransform3D" NativeTransform3D Class NativeTransform3D Transform3D 类用于实现3D变换。 Hierarchy Transform3D NativeTransform3D Index Constructors constructor Properties _nativeObj MemoryBlock_size tmpVec3 Accessors loc...
来源: Laya3.0_api 发布时间: 20231115
...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.9, 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....
来源: Laya_示例 发布时间: 20250221
....Camera(0, 0.1, 1000))) as Laya.Camera; camera.orthographic = true; camera.transform.translate(new Laya.Vector3(0, 4, 8),false); camera.transform.lookAt(new Laya.Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as La...
来源: Laya_社区 发布时间: 20180302
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Transform3D" Transform3D Class Transform3D Transform3D 类用于实现3D变换。 Hierarchy EventDispatcher Transform3D NativeTransform3D Index Properties tmpVec3 Accessors localMatrix localPosition localPositionX localPositi...
来源: Laya3.0_api 发布时间: 20231115
...a.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 0)); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/th...
来源: Laya_示例 发布时间: 20250221
...机 var 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()); dire...
来源: Laya_社区 发布时间: 20170809
...0,_core.height); tf.translate(_core.p1.x,_core.p1.y-_core.height); page[1].transform=tf; 我全用transform了, 达到了想要的效果 cuixueying • 2016-12-14 14:14 好的,有问题及时沟通!
来源: Laya_社区 发布时间: 20161214
...ene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(...
来源: Laya_示例 发布时间: 20250221