Version: 2019.1
public Matrix4x4 GetMatrix (string name);
public Matrix4x4 GetMatrix (int nameID);

Parameters

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

Description

Get a matrix from the property block.

Returns identity matrix if not found.