大约有 313 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(129) Laya2.0_api(54) laya_api(50) Laya_社区(38) Laya3.0_文档(15) Laya_示例(15) Laya2.0_文档(12)
...ape.ts:18 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Defined in laya/d3/physics/shape/ColliderShape.ts:131 Shape的本地偏移。 Paramet...
来源: Laya3.0_api 发布时间: 20231115
... 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
...chy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Bo...
来源: Laya2.0_api 发布时间: 20190513
...erties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类...
来源: Laya2.0_api 发布时间: 20190513
...| Uint16Array | Uint32Array 网格索引。 getNormals getNormals(normals: Vector3[]): void Defined in laya/d3/resource/models/Mesh.ts:598 拷贝并填充法线数据至数组。 remark 该方法为拷贝操作,比较耗费性能。 Parameters normals: Vector3[] 法线数组。 Returns void getPos...
来源: Laya3.0_api 发布时间: 20231115
...ect:*):void[override] SphereShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 SphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):v...
来源: laya_api 发布时间: 20170929
...ect:*):void[override] SphereShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 SphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBox):v...
来源: Laya2.0_api 发布时间: 20190513
...*):void[override] HemisphereShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 HemisphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBo...
来源: laya_api 发布时间: 20170929
...*):void[override] HemisphereShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 HemisphereShapeProtected Methods MethodDefined By _getShapeBoundBox(boundBox:BoundBo...
来源: Laya2.0_api 发布时间: 20190513
...节点也跟随移动 this.layaMonkeyParent.transform.translate(new Laya.Vector3(-0.2, 0, 0); (动图3-2) 通过点击按钮,让子节点移动,可以看到父节点并没有移动 this.layaMonkeySon.transform.translate(new Laya.Vector3(-0.2, 0, 0); 四、克隆 关于克隆,LayaAir3D中...
来源: Laya3.0_文档 发布时间: 20251010