Vector3Transform Method (Vector3, Quaternion, Vector4)

RAGE Plugin Hook Documentation

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

Transforms a 3D 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 void Transform(
	ref Vector3 vector,
	ref Quaternion rotation,
	out Vector4 result
)

Parameters

vector
Type: RageVector3
The vector to rotate.
rotation
Type: RageQuaternion
The Quaternion rotation to apply.
result
Type: RageVector4
When the method completes, contains the transformed Vector4.
See Also

Reference