-
new Plane(normal, distance)
-
平面
Name Type Default Description normalVector3 new Vector3 optional 法线
distanceNumber 0 optional 距离
Members Show Inherited
| Name | Type | Default | Description |
|---|---|---|---|
className
|
String | Plane |
类名 |
isPlane
|
Boolean | true | |
normal
|
Vector3 |
法线向量 |
|
distance
|
number |
距离 |
Methods Show Inherited
-
copy(m){Plane}
-
Copy the values from one plane to this
Name Type Description mPlane the source plane
Returns:
Type Description Plane this -
clone(){Plane}
-
Creates a new plane initialized with values from this plane
Returns:
Type Description Plane a new Plane -
set(x, y, z, w){Plane}
-
[set description]
Name Type Description xNumber 法线 x
yNumber 法线 y
zNumber 法线 z
wNumber 距离
Returns:
Type Description Plane this -
distanceToPoint(point){Number}
-
与点的距离
Name Type Description pointVector3 Returns:
Type Description Number