Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Matrix4x4.zero

static var zero: Matrix4x4;
static Matrix4x4 zero;
static zero as Matrix4x4

Description

Returns a matrix with all elements set to zero (Read Only).

The matrix looks like this:

	0  0  0  0
	0  0  0  0
	0  0  0  0
	0  0  0  0

See Also: identity variable.