SIMatrix3.SetIdentity

Description

Resets this matrix to the identity matrix: this = id

C# Syntax

SIMatrix3.SetIdentity();

Scripting Syntax

SIMatrix3.SetIdentity();

Examples

VBScript Example

dim m1
' Create 3x3 matrix.
set m1 = XSIMath.CreateMatrix3(2.0, 3.0, 0.0, 1.0, 4.0, 0.0, 0.0, 0.0, 1.0)
m1.SetIdentity

See Also

SIMatrix3.Set SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion