大约有 45 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0030 秒)
...MethodDefined By BoundsOctree(initialWorldSize:Number, initialWorldPos:Vector3, minNodeSize:Number, looseness:Number) 创建一个 BoundsOctree 实例。 BoundsOctree add(object:IOctreeObject):void 添加物体 BoundsOctree addMotionObject(object:IOctreeObject):void 添加运动物体。 Bo...
来源: Laya2.0_api 发布时间: 20190513
...距离。 * @param isLocal 是否局部空间。 */ translate(translation: Vector3, isLocal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector...
来源: Laya3.0_文档 发布时间: 20241014
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By x : NumberX轴...
来源: Laya2.0_api 发布时间: 20190513
...de(octree:BoundsOctree, parent:BoundsOctreeNode, baseLength:Number, center:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode add(object:IOctreeObject):Boolean 添加指定物体。 BoundsOctreeNode getBound():BoundBox 获取包围盒。 BoundsOctreeNode getCollidingWithBound...
来源: Laya2.0_api 发布时间: 20190513
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By el...
来源: laya_api 发布时间: 20170929
...loneTo(destObject:*):void 克隆。 Quaternion createFromAxisAngle(axis:Vector3, rad:Number, out:Quaternion):void[static] 从指定的轴和角度计算四元数 Quaternion createFromMatrix4x4(mat:Matrix4x4, out:Quaternion):void[static] 从旋转矩阵计算四元数 Quaternion createFromYa...
来源: Laya2.0_api 发布时间: 20190513
...loneTo(destObject:*):void 克隆。 Quaternion createFromAxisAngle(axis:Vector3, rad:Number, out:Quaternion):void[static] 从指定的轴和角度计算四元数 Quaternion createFromMatrix3x3(sou:Matrix3x3, out:Quaternion):void[static] 根据3x3矩阵计算四元数 Quaternion createFromMa...
来源: laya_api 发布时间: 20170929
... out 相交点 */ static intersectsRayAndPlaneRP(ray:Ray, plane:Plane, out:Vector3):boolean { var distance:number; if (!CollisionUtils.intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3._ZERO; return false; } Vector3.scale(ray.direction, distance, CollisionUtils._tempV30); Vector3.add(ra...
来源: Laya_社区 发布时间: 20191012
...ider.mesh = field.meshFilter.sharedMesh; 检测碰撞: var rayOrigin: Laya.Vector3 = new Laya.Vector3(0, 0, 0); //射线原点 //根据角色位置计算射线原点 Laya.Vector3.add(this.ownerSprite.transform.position, new Laya.Vector3(speedX, 1, speedZ), rayOrigin); //射线原点位置更新 this...
来源: Laya_社区 发布时间: 20180316
...ZONE 微信 NilZ 赞同来自: //求AC AB的叉积 Vector3.cross(AC, AB, out); //单位化一下 Vector3.normalize(out, out); //得到旋转轴 Vector3.add(A, out); //得到旋转矩阵 Matrix4x4.createRo...
来源: Laya_社区 发布时间: 20191224