mPhysics - A .NET Wrapper for Ageia's PhysX SDK

Segment Members

 [This is preliminary documentation and subject to change.]

Segment overview

Public Instance Constructors

Segment Constructor

Public Instance Properties

Direction Computes the length vector of this segment.
EndPoint The end point.
Length Returns the length of this segment.
SquareLength Returns the square of the length of this segment.
StartPoint The start point.

Public Instance Methods

GetParameterPoint Get a point on the segment at the given parameter (0 = start, 1 = end)
SetOriginDirection Set this segment using the given start point and length vector.

See Also

Segment Structure | mPhysics.Foundation Namespace