QuaternionRotationAxis Method (Vector3, Single)

RAGE Plugin Hook Documentation

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

Creates a quaternion given a rotation and an axis.

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

public static Quaternion RotationAxis(
	Vector3 axis,
	float angle
)

Parameters

axis
Type: RageVector3
The axis of rotation.
angle
Type: SystemSingle
The angle of rotation.

Return Value

Type: Quaternion
The newly created quaternion.
See Also

Reference