Version: 2020.2
言語: 日本語
public static Matrix4x4 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.