-
new Plane(normal, distance)
-
平面
Name Type Default Description normal
Vector3 new Vector3 optional 法线
distance
Number 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 m
Plane 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 x
Number 法线 x
y
Number 法线 y
z
Number 法线 z
w
Number 距离
Returns:
Type Description Plane this -
distanceToPoint(point){Number}
-
与点的距离
Name Type Description point
Vector3 Returns:
Type Description Number