大约有 151 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)
Laya_社区(40) Laya3.0_api(38) Laya2.0_文档(28) Laya2.0_api(17) laya_api(13) Laya3.0_文档(13) Laya_示例(2)
...ticalSize = 7; //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); ``` (图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210715
...ticalSize = 7; //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); ``` (图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210714
...l Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchVector3" ConchVector3 Class ConchVector3 Vector3 类用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY...
来源: Laya3.0_api 发布时间: 20231102
...icVerticalSize = 7; //移动摄像机位置 camera.transform.translate(new Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Vector3( -30, 0, 0), true, false); ``` (图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210715
...dByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; var b = 0.2; var c...
来源: Laya_社区 发布时间: 20191223
... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...
来源: Laya3.0_api 发布时间: 20231115
...aya.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); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(ne...
来源: Laya_社区 发布时间: 20180725
...; // scene_360.addChild(camera); camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position = new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node)...
来源: Laya_社区 发布时间: 20190813
...calMatrix : Matrix4x4 获取局部矩阵。 Transform3D localPosition : Vector3 获取局部位置。 Transform3D localPositionX : Number 获取局部位置X轴分量。 Transform3D localPositionY : Number 获取局部位置Y轴分量。 Transform3D localPositionZ : Number 获取局部...
来源: Laya2.0_api 发布时间: 20190513
... number 旋转角度 0.0 autoRotate boolean 是否自动旋转 false scale Vector2 缩放(x, y) Vector2(1, 1) positionOffset Vector2 位置偏移(屏幕空间,x, y) Vector2(0, 0) 图3-1-4 我们将贴图拖入装饰器,再将镜头光晕数据和灯光拖入,即可实现图3-1-5的效...
来源: Laya3.0_文档 发布时间: 20260105