Packageaway3d.primitives.data
Classpublic class SegmentBase
SubclassesLineSegment

Public Properties
 PropertyDefined by
  end : Vector3D
Defines the ending vertex.
SegmentBase
  endColor : uint
Defines the endColor
SegmentBase
  start : Vector3D
Defines the starting vertex.
SegmentBase
  startColor : uint
Defines the startColor
SegmentBase
  thickness : Number
Defines the ending vertex.
SegmentBase
Public Methods
 MethodDefined by
  
SegmentBase
(v0:Vector3D, v1:Vector3D, v2:Vector3D, color0:uint = 0x333333, color1:uint = 0x333333, thickness:Number = 1)
SegmentBase
Property detail
endproperty
end:Vector3D  [read-write]

Defines the ending vertex.

Implementation
    public function get end():Vector3D
    public function set end(value:Vector3D):void
endColorproperty 
endColor:uint  [read-write]

Defines the endColor

Implementation
    public function get endColor():uint
    public function set endColor(value:uint):void
indexproperty 
index:uint  [read-write]Implementation
    arcane function get index():uint
    arcane function set index(value:uint):void
rgbColorVectorproperty 
rgbColorVector:Vector  [read-only]Implementation
    arcane function get rgbColorVector():Vector
_segmentsBaseproperty 
arcane var _segmentsBase:SegmentsBase
segmentsBaseproperty 
segmentsBase:SegmentsBase  [write-only]Implementation
    arcane function set segmentsBase(value:SegmentsBase):void
startproperty 
start:Vector3D  [read-write]

Defines the starting vertex.

Implementation
    public function get start():Vector3D
    public function set start(value:Vector3D):void
startColorproperty 
startColor:uint  [read-write]

Defines the startColor

Implementation
    public function get startColor():uint
    public function set startColor(value:uint):void
thicknessproperty 
thickness:Number  [read-write]

Defines the ending vertex.

Implementation
    public function get thickness():Number
    public function set thickness(value:Number):void
verticesproperty 
vertices:Vector  [read-only]Implementation
    arcane function get vertices():Vector
Constructor detail
SegmentBase()constructor
public function SegmentBase(v0:Vector3D, v1:Vector3D, v2:Vector3D, color0:uint = 0x333333, color1:uint = 0x333333, thickness:Number = 1)Parameters
v0:Vector3D
 
v1:Vector3D
 
v2:Vector3D
 
color0:uint (default = 0x333333)
 
color1:uint (default = 0x333333)
 
thickness:Number (default = 1)
Init Parameters
Wiki link
Click to go to the wiki page for 'away3d.primitives.data.SegmentBase'

Code examples

Comments