Vector3TransformNormal Method (Vector3, Matrix, Vector3, Int32, Int32)

RAGE Plugin Hook Documentation

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

Performs a normal transformation using the given Matrix.

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

public static void TransformNormal(
	Vector3[] normalsIn,
	ref Matrix transformation,
	Vector3[] normalsOut,
	int offset,
	int count
)

Parameters

normalsIn
Type: RageVector3
The source vectors.
transformation
Type: RageMatrix
The transformation Matrix.
normalsOut
Type: RageVector3
The transformed Vector3s.
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