This version of Unity is unsupported.

Shader.GetGlobalMatrix

Switch to Manual

Declaration

public static Matrix4x4 GetGlobalMatrix(string name);

Declaration

public static Matrix4x4 GetGlobalMatrix(int nameID);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
name The name of the property.

Description

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