Packageaway3d.primitives
Classpublic class LineSegment
InheritanceLineSegment Inheritance SegmentBase

Public Properties
 PropertyDefined by
 Inheritedend : Vector3D
Defines the ending vertex.
SegmentBase
 InheritedendColor : uint
Defines the endColor
SegmentBase
 Inheritedstart : Vector3D
Defines the starting vertex.
SegmentBase
 InheritedstartColor : uint
Defines the startColor
SegmentBase
 Inheritedthickness : Number
Defines the ending vertex.
SegmentBase
Public Methods
 MethodDefined by
  
LineSegment
(v0:Vector3D, v1:Vector3D, color0:uint = 0x333333, color1:uint = 0x333333, thickness:Number = 1)
LineSegment
Public Constants
 ConstantDefined by
  TYPE : String = "line"
LineSegment
Constructor detail
LineSegment()constructor
public function LineSegment(v0:Vector3D, v1:Vector3D, color0:uint = 0x333333, color1:uint = 0x333333, thickness:Number = 1)Parameters
v0:Vector3D
 
v1:Vector3D
 
color0:uint (default = 0x333333)
 
color1:uint (default = 0x333333)
 
thickness:Number (default = 1)
Init Parameters
Constant detail
TYPEconstant
public const TYPE:String = "line"
Wiki link
Click to go to the wiki page for 'away3d.primitives.LineSegment'

Code examples

Comments