Version: 2019.4
public Matrix4x4 GetMatrix4x4 (int nameID);
public Matrix4x4 GetMatrix4x4 (string name);

パラメーター

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameプロパティーの名前

戻り値

Matrix4x4 The value for the Matrix4x4 you specify. Returns Matrix4x4.identity if VisualEffect.HasMatrix4x4 returns false.

説明

Gets the value of a named Matrix4x4 property