Vector3Transform Method (Vector3, Quaternion)

RAGE Plugin Hook Documentation

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

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

Parameters

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

Return Value

Type: Vector4
The transformed Vector4.
See Also

Reference