|  | |
| Lathe | |
 Syntax
Syntax Remarks
RemarksGets or sets a Vector3D that is used to define the direction in which the segment with StartAngle is facing. This is used as the X axis for the base lathe geometry; the Y axis is defined by calculating a perpendicular vector to StartAngleVector3D and the lathe direction (= endPosition - startPosition).
When StartAngleVector3D is null (by default), then MathUtils.GetPerpendicularVectors method is used to calculate the X and Y axes.
StartAngleVector3D is used when custom start and end angles are used or when texture coordinates are generated.
            For example:
            - StartPosition is above the EndPosition (lathe direction is 0,-1,0),
            - StartAngle = 0; EndAngle = 90,
            - StartAngleVector3D is set to (1,0,0),
            In this case the lathe starts in the X axis direction (1,0,0) and then the angle increases until it reaches 90 degrees in the (0,0,-1) direction.
            
 See Also
See Also