大约有 42 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0037 秒)
...e test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>; private camera: Laya.Camera; private label: Laya.Label; constructor() { L...
来源: Laya_社区 发布时间: 20180820
...tructors constructor new CharacterController(stepheight?: number, upAxis?: Vector3, collisionGroup?: number, canCollideWith?: number): CharacterController Overrides PhysicsComponent.constructor Defined in laya/d3/physics/CharacterController.ts:215 创建一个 CharacterController 实例。 Parameter...
来源: Laya3.0_api 发布时间: 20231115
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...
来源: Laya_示例 发布时间: 20250223
...动插值参数值 public camDepthSmooth: number = 20 public curpos: Laya.Vector3; private delatpos: Laya.Vector3; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 * 此方法为虚方法,使用时重写覆盖即...
来源: Laya3.0_文档 发布时间: 20240910
...转。 ```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
...旋转。 ```typescript //移动摄像机 camera.transform.translate(new Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧拉角...
来源: Laya2.0_文档 发布时间: 20210714
...转。 ```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
...BaseCamera fieldOfView : Number 获取视野。 BaseCamera forward : Vector3[read-only] 获取前向量。 BaseCamera id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D l...
来源: laya_api 发布时间: 20170929
...urns void decomposeTransRotMatScale decomposeTransRotMatScale(translation: Vector3, rotationMatrix: Matrix4x4, scale: Vector3): boolean Defined in laya/maths/Matrix4x4.ts:545 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix: ...
来源: Laya3.0_api 发布时间: 20231115
...urns void decomposeTransRotMatScale decomposeTransRotMatScale(translation: Vector3, rotationMatrix: Matrix4x4, scale: Vector3): boolean Defined in laya/d3/math/Matrix4x4.ts:523 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix...
来源: Laya3.0_api 发布时间: 20231102