Constructors
constructor
- new Path3(x: number, y: number, z: number): Path3
-
Parameters
-
x: number
-
y: number
-
z: number
Accessors
closed
- get closed(): boolean
-
Returns boolean
distance
- get distance(): number
-
Returns number
Methods
addPoint
- addPoint(x: number, y: number, z: number): Path3
-
Parameters
-
x: number
-
y: number
-
z: number
- addPoint(point: Vector3): Path3
-
getPointAtDistance
- getPointAtDistance(distance: number): Vector3
-
getPointAtPercent
- getPointAtPercent(percent: number): Vector3
-
表示一个由多个三维点组成的路径。