SIMatrix4.SetIdentity

説明

この行列を恒等行列に設定します(this = id )。

スクリプト 構文

SIMatrix4.SetIdentity();

VBScript の例

'
' This example demonstrates how to set a matrix to the identity matrix
'
dim m1 : set m1 = XSIMath.CreateMatrix4(_
        1.0, 2.0, 3.0, 4.0, _
        5.0, 6.0, 7.0, 8.0, _
        9.0, 10.0, 11.0, 12.0, _
        13.0, 14.0, 15.0, 16.0)
m1.SetIdentity

関連項目

SIMatrix4.Set SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion