Creates a curved line segment definition required for the Path class.

Constructor

new(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D)

Variables

control:Vector3D

Defines the control vector of the PathSegment

end:Vector3D

Defines the control vector of the PathSegment

start:Vector3D

Defines the first vector of the PathSegment

Methods

dispose():Void

nulls the 3 vectors

@:value({ target : null })getPointOnSegment(t:Float, ?target:Vector3D):Vector3D

toString():String