Vector2TransformCoordinate Method (Vector2, Matrix)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Performs a coordinate transformation using the given Matrix.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Vector2 TransformCoordinate(
	Vector2 coordinate,
	Matrix transformation
)

Parameters

coordinate
Type: RageVector2
The coordinate vector to transform.
transformation
Type: RageMatrix
The transformation Matrix.

Return Value

Type: Vector2
The transformed coordinates.
See Also

Reference