View source
class QuadraticPath
package away3d.paths
extends SegmentedPathBase
implements IPath
Available on all platforms
Holds information about a single Path definition. DEBUG OPTION OUT AT THIS TIME OF DEV
Constructor
new(?data:Vector<Vector3D>)
Creates a new Path object.
Parameters:
aVectors | [optional] An array of a series of Vector3D's organized in the following fashion. [a,b,c,a,b,c etc...] a = pEnd, b=pControl (control point), c = v2 |
|---|
Variables
Methods
averagePath():Void
handler will average the path using averages of the PathSegments note that this is not dynamic, the path values are overwrited
smoothPath():Void
handler will smooth the path using anchors as control vector of the PathSegments note that this is not dynamic, the PathSegments values are overwrited