大约有 565 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)
Laya3.0_api(166) Laya2.0_api(116) laya_api(115) Laya_社区(78) Laya_示例(39) Laya2.0_文档(37) Laya3.0_文档(14)
...试着改一改就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
...简单物理检测。 Public Properties PropertyDefined By gravity : Vector3[static] 重力。PhysicsPublic Methods MethodDefined By Physics()Physics rayCast(ray:Ray, outHitInfo:RaycastHit, distance:Number, layer:int = 0):void[static] 在场景中投下可与所有碰撞器碰撞的一...
来源: laya_api 发布时间: 20170929
...ts:54 Parameters cullingMask: number Returns void position get position(): Vector3 set position(position: Vector3): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:41 Returns Vector3 Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:36 Parameters position: Vector3 ...
来源: Laya3.0_api 发布时间: 20231115
...XR/core/WebXRCameraManager.ts:45 parent Accessors position get position(): Vector3 set position(newPosition: Vector3): void Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:47 Returns Vector3 Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:51 Parameters newPosition: Vector3 Returns void rigCa...
来源: Laya3.0_api 发布时间: 20231115
...bject:*):void[override] ConeShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 ConeShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):voi...
来源: laya_api 发布时间: 20170929
...bject:*):void[override] ConeShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 ConeShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):voi...
来源: Laya2.0_api 发布时间: 20190513
...AndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3ArrayByQuat transformVector3ArrayToVector3ArrayCoordinate transformVector3ArrayToVector3ArrayNormal uint8ArrayToArrayBuffer Properties Static _tempV0 _tempV0: Vector3 = new Vector3() Defined in laya/d3/utils/Utils3D.ts...
来源: Laya3.0_api 发布时间: 20231115
...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor Properties x y z ForwardLH ForwardRH NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Methods...
来源: Laya3.0_api 发布时间: 20231115
...创建OBB包围盒。 Public Properties PropertyDefined By extents : Vector3每个轴长度的一半OrientedBoundBox transformation : Matrix4x4这个矩阵表示包围盒的位置和缩放,它的平移向量表示该包围盒的中心OrientedBoundBoxPublic Methods MethodDefined By Orient...
来源: laya_api 发布时间: 20170929
...包围球,禁止修改其数据。 BaseMesh InverseAbsoluteBindPoses : Vector.<Matrix4x4>[read-only] 获取网格的全局默认绑定动作逆矩阵。 Mesh materials : Vector.<BaseMaterial>[read-only] 获取材质队列的浅拷贝。 Mesh positions : Array[override] [read-onl...
来源: laya_api 发布时间: 20170929