| Package | away3d.paths |
| Class | public class CubicPathSegment |
| Inheritance | CubicPathSegment Object |
| Implements | IPathSegment |
See also
| Property | Defined By | ||
|---|---|---|---|
| control1 : Vector3D
The first control point. | CubicPathSegment | ||
| control2 : Vector3D
The second control point. | CubicPathSegment | ||
| end : Vector3D
The last anchor point. | CubicPathSegment | ||
| start : Vector3D
The first anchor point. | CubicPathSegment | ||
| Method | Defined By | ||
|---|---|---|---|
CubicPathSegment(start:Vector3D, control1:Vector3D, control2:Vector3D, end:Vector3D) | CubicPathSegment | ||
dispose():void | CubicPathSegment | ||
getPointOnSegment(phase:Number, target:Vector3D = null):Vector3D | CubicPathSegment | ||
toString():String | CubicPathSegment | ||
| control1 | property |
public var control1:Vector3DThe first control point.
| control2 | property |
public var control2:Vector3DThe second control point.
| end | property |
public var end:Vector3DThe last anchor point.
| start | property |
public var start:Vector3DThe first anchor point.
| CubicPathSegment | () | Constructor |
public function CubicPathSegment(start:Vector3D, control1:Vector3D, control2:Vector3D, end:Vector3D)Parameters
start:Vector3D — The first anchor point.
| |
control1:Vector3D — The first control point.
| |
control2:Vector3D — The second control point.
| |
end:Vector3D — The last anchor point.
|
| dispose | () | method |
public function dispose():void| getPointOnSegment | () | method |
public function getPointOnSegment(phase:Number, target:Vector3D = null):Vector3DParameters
phase:Number | |
target:Vector3D (default = null) |
Vector3D |
| toString | () | method |
public function toString():StringReturnsString |