public Matrix4x4 GetMatrix4x4 (int nameID);
public Matrix4x4 GetMatrix4x4 (string name);

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.

Description

Returns a Matrix4 that corresponds to the bound named expression. If this entry is not available, or the type doesn't match, an exception is thrown.