Segment object


Can be created using method new:

Lib.Away3D.Primitives.Data.Segment.new(start, end, anchor, colorStart, colorEnd, thickness)

Create new Segment

start - Vector3D.

end - Vector3D.

anchor - Vector3D.

colorStart - integer, default 0x333333

colorEnd - integer, default 0x333333

thickness - number, default 1


Created Segment object has properties:

end

Vector3D, Defines the ending vertex.

endColor

Integer, Defines the endColor

start

Vector3D, Defines the starting vertex.

startColor

Integer, Defines the startColor

thickness

Number, Defines the ending vertex.


Method:

updateSegment(start, end, anchor, colorStart, colorEnd, thickness)

Update Segment

start - Vector3D.

end - Vector3D.

anchor - Vector3D.

colorStart - integer, default 0x333333

colorEnd - integer, default 0x333333

thickness - number, default 1

Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework