SIQuaternion.NegateInPlace

Description

Negates this quaternion in place.

C# Syntax

SIQuaternion.NegateInPlace();

Scripting Syntax

SIQuaternion.NegateInPlace();

Examples

VBScript Example

dim q1
' Create Quaternion.
set q1 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0)
'q1 = -q1
q1.NegateInPlace

See Also

SIQuaternion.Negate SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion