Version: 2019.2

Shader.GetGlobalMatrix

Switch to Manual
public static Matrix4x4 GetGlobalMatrix (string name);
public static Matrix4x4 GetGlobalMatrix (int nameID);

Parameters

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

Description

Gets a global matrix property for all shaders previously set using SetGlobalMatrix.