Version: 2020.3
언어: 한국어
public static Matrix4x4 zero ;

설명

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

using UnityEngine;

public class ExampleScript : MonoBehaviour { void Start() { // will print: // 0.00000 0.00000 0.00000 0.00000 // 0.00000 0.00000 0.00000 0.00000 // 0.00000 0.00000 0.00000 0.00000 // 0.00000 0.00000 0.00000 0.00000 var matrix = Matrix4x4.zero; Debug.Log(matrix); } }

See Also: Matrix4x4.identity property.