|
Vector2Transform Method (Vector2, Matrix4x4)
|
Transforms a vector by the given matrix.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Vector2 Transform(
Vector2 position,
Matrix4x4 matrix
)
Public Shared Function Transform (
position As Vector2,
matrix As Matrix4x4
) As Vector2
public:
static Vector2 Transform(
Vector2 position,
Matrix4x4 matrix
)
static member Transform :
position : Vector2 *
matrix : Matrix4x4 -> Vector2
Parameters
- position
- Type: Karamba.GeometryVector2
The source vector. - matrix
- Type: Karamba.GeometryMatrix4x4
The transformation matrix.
Return Value
Type:
Vector2The transformed vector.
See Also