| Property | Defined By | ||
|---|---|---|---|
| distance : Number 平面到坐标系原点的距离 | Plane | ||
| normal : Vector3 平面的向量 | Plane | ||
| PlaneIntersectionType_Back : int = 0 [static] 平面与其他几何体相交类型 | Plane | ||
| PlaneIntersectionType_Front : int = 1 [static] | Plane | ||
| PlaneIntersectionType_Intersecting : int = 2 [static] | Plane | ||
| Method | Defined By | ||
|---|---|---|---|
创建一个 Plane 实例。
| Plane | ||
[static]
创建一个 Plane 实例。
| Plane | ||
normalize():void
更改平面法线向量的系数,使之成单位长度。
| Plane | ||
| distance | property |
public var distance:Number平面到坐标系原点的距离
| normal | property |
public var normal:Vector3平面的向量
| PlaneIntersectionType_Back | property |
public static var PlaneIntersectionType_Back:int = 0平面与其他几何体相交类型
| PlaneIntersectionType_Front | property |
public static var PlaneIntersectionType_Front:int = 1| PlaneIntersectionType_Intersecting | property |
public static var PlaneIntersectionType_Intersecting:int = 2| Plane | () | Constructor |
public function Plane(normal:Vector3, d:Number = 0)
创建一个 Plane 实例。
normal:Vector3 — 平面的向量
| |
d:Number (default = 0) — 平面到原点的距离
|
| createPlaneBy3P | () | method |
public static function createPlaneBy3P(point1:Vector3, point2:Vector3, point3:Vector3):Plane
创建一个 Plane 实例。
Parameters
point1:Vector3 — 第一点
| |
point2:Vector3 — 第二点
| |
point3:Vector3 — 第三点
|
Plane |
| normalize | () | method |
public function normalize():void更改平面法线向量的系数,使之成单位长度。