MathConversionExtensions Class |
Namespace: Slash.Unity.Common.Math
The MathConversionExtensions type exposes the following members.
Name | Description | |
---|---|---|
ToRect(RectangleF) |
Converts the specified framework rectangle to an Unity rectangle.
| |
ToRect(RectangleI) |
Converts the specified framework rectangle to an Unity rectangle.
| |
ToRectangleF |
Converts the specified Unity rectangle to a framework rectangle.
| |
ToRectangleI |
Converts the specified Unity rectangle to a framework rectangle.
| |
ToVector2(Vector2F) |
Converts the specified framework vector to an Unity vector.
| |
ToVector2(Vector2I) |
Converts the specified framework vector to an Unity vector.
| |
ToVector2F(Vector2) |
Converts the specified Unity vector to a framework vector.
| |
ToVector2F(Vector3) | Obsolete.
Converts the specified Unity vector to a framework vector.
| |
ToVector2FXY |
Converts the specified Unity vector to a framework vector.
| |
ToVector2FXZ |
Converts the specified Unity vector to a framework vector.
| |
ToVector2I |
Converts the specified Unity vector to a framework vector.
| |
ToVector3(Vector3F) |
Converts the specified framework vector to an Unity vector.
| |
ToVector3(Vector2F, Single) | Obsolete.
Converts the specified framework vector to an Unity vector.
| |
ToVector3XY |
Converts the specified framework vector to an Unity vector.
| |
ToVector3XZ |
Converts the specified framework vector to an Unity vector.
|