SIMatrix4.SetIdentity

Description

Sets this matrix to the identity matrix: this = id

C# Syntax

SIMatrix4.SetIdentity();

Scripting Syntax

SIMatrix4.SetIdentity();

Examples

VBScript Example

'
' 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

See Also

SIMatrix4.Set SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion