Vector2Transform Method (Vector2, Quaternion)

RAGE Plugin Hook Documentation

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

Transforms a 2D vector by the given Quaternion rotation.

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

public static Vector4 Transform(
	Vector2 vector,
	Quaternion rotation
)

Parameters

vector
Type: RageVector2
The vector to rotate.
rotation
Type: RageQuaternion
The Quaternion rotation to apply.

Return Value

Type: Vector4
The transformed Vector4.
See Also

Reference