Package | away3d.primitives |
Class | public class LineSegment |
Inheritance | LineSegment Segment Object |
Method | Defined By | ||
---|---|---|---|
LineSegment(v0:Vector3D, v1:Vector3D, color0:uint = 0x333333, color1:uint = 0x333333, thickness:Number = 1)
Create a line segment
| LineSegment | ||
updateSegment(start:Vector3D, end:Vector3D, anchor:Vector3D, colorStart:uint = 0x333333, colorEnd:uint = 0x333333, thickness:Number = 1):void | Segment |
Constant | Defined By | ||
---|---|---|---|
TYPE : String = line | LineSegment |
LineSegment | () | Constructor |
public function LineSegment(v0:Vector3D, v1:Vector3D, color0:uint = 0x333333, color1:uint = 0x333333, thickness:Number = 1)
Create a line segment
Parametersv0:Vector3D — Start position of the line segment
| |
v1:Vector3D — Ending position of the line segment
| |
color0:uint (default = 0x333333 ) — Starting color of the line segment
| |
color1:uint (default = 0x333333 ) — Ending colour of the line segment
| |
thickness:Number (default = 1 ) — Thickness of the line
|
TYPE | Constant |
public const TYPE:String = line