Vector3TransformNormal Method (Vector3, Int32, 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,
	int inputStride,
	Matrix* transformation,
	Vector3* normalsOut,
	int outputStride,
	int count
)

Parameters

normalsIn
Type: RageVector3*
The source normals to transform.
inputStride
Type: SystemInt32
The stride in bytes between normals in the input.
transformation
Type: RageMatrix*
The transformation Matrix.
normalsOut
Type: RageVector3*
The transformed Vector3s.
outputStride
Type: SystemInt32
The stride in bytes between vectors in the output.
count
Type: SystemInt32
The number of vectors to transform.
See Also

Reference