segment
\ ScriptableObject
A 3d line represented by a start and end point
Properties
This object has no properties.
Constructors
segment Constructs a segment
Methods
getRay Returns the ray representing the segments origin and facing direction
getLength Returns the length of the segment
getStartPoint Returns the starting point of the segment
getEndPoint Returns the ending point of the segment
getNearestPoint Returns a point on the segment nearest to the given coordinate
getNearestDistance Returns the distance to the nearest point on the segment from the given coordinate
transform Transforms the segment by the given matrix
Events
This object has no events.