大约有 1,194 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0053 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
...转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧...
来源: Laya2.0_文档 发布时间: 20210715
...ElementFormat Color : String = color[static] VertexElementFormat HalfVector2 : String = halfvector2[static] VertexElementFormat HalfVector4 : String = halfvector4[static] VertexElementFormat NormalizedShort2 : String = normalizedshort2[static] VertexElementFormat NormalizedShort4 : St...
来源: Laya2.0_api 发布时间: 20190513
...poseYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity normalize setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter createPerspective creat...
来源: Laya3.0_api 发布时间: 20231115
...转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧...
来源: Laya2.0_文档 发布时间: 20210715
...sOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isIdentity normalize setElementByRowColumn setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter c...
来源: Laya3.0_api 发布时间: 20231102
...试着改一改就OK啦。。import Transform3D = Laya.Transform3D; import Vector3 = laya.d3.math.Vector3; import Quaternion = laya.d3.math.Quaternion; /* 用法: //初始化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler =...
来源: Laya_社区 发布时间: 20170714
...Picker() 创建一个 Picker 实例。 Picker calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matrix4x4, out:Ray):void[static] 计算鼠标生成的射线。 Picker rayIntersectsTriangle(ray:Ray, vertex1:Vector3, vertex2:Vector3, ver...
来源: Laya2.0_api 发布时间: 20190513
...项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camer...
来源: Laya_示例 发布时间: 20241117
...试着改一改就OK啦。。import Transform3D = Laya.Transform3D; import Vector3 = laya.d3.math.Vector3; import Quaternion = laya.d3.math.Quaternion; /* 用法: //初始化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler =...
来源: Laya_社区 发布时间: 20190224
...项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Came...
来源: Laya_示例 发布时间: 20241117