Vector3Transform Method (Vector3, Matrix, Vector4, Int32, Int32)

RAGE Plugin Hook Documentation

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

Transforms an array of 3D vectors by the given Matrix.

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

public static void Transform(
	Vector3[] vectorsIn,
	ref Matrix transformation,
	Vector4[] vectorsOut,
	int offset,
	int count
)

Parameters

vectorsIn
Type: RageVector3
The source vectors.
transformation
Type: RageMatrix
The transformation Matrix.
vectorsOut
Type: RageVector4
The transformed Vector4s.
offset
Type: SystemInt32
The offset at which to begin transforming.
count
Type: SystemInt32
The number of vectors to transform, or 0 to process the whole array.
See Also

Reference