Version: 2023.2
언어: 한국어
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); } }

Additional resources: Matrix4x4.identity property.