class com.babylonhx.math.Path3D

Available on all platforms

... @author Krtolica Vujadin

Instance Fields

function new(path:Array<Vector3>, ?firstNormal:Vector3, ?raw:Bool):Void

new Path3D(path, normal, raw) path : an array of Vector3, the curve axis of the Path3D normal (optional) : Vector3, the first wanted normal to the curve. Ex (0, 1, 0) for a vertical normal. raw (optional, default false) : boolean, if true the returned Path3D isn't normalized. Useful to depict path acceleration or speed.

function getCurve():Array<Vector3>

function update(path:Array<Vector3>, ?firstNormal:Vector3):Path3D