SIQuaternion.NegateInPlace

説明

このクォータニオンの符号を反転して置き換えます。

スクリプト 構文

SIQuaternion.NegateInPlace();

VBScript の例

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

関連項目

SIQuaternion.Negate SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion