Vector4Transform Method (Vector4, Quaternion)

RAGE Plugin Hook Documentation

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

Transforms an array of 4D vectors 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(
	Vector4[] vectors,
	ref Quaternion rotation
)

Parameters

vectors
Type: RageVector4
The vectors to rotate.
rotation
Type: RageQuaternion
The Quaternion rotation to apply.

Return Value

Type: Vector4
The transformed Vector4.
See Also

Reference