Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.GetMatrix4x4

Switch to Manual
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.

Returns

Matrix4x4 The exposed Matrix4x4 value (or Matrix4x4.zero if VisualEffect.HasMatrix4x4 returns false).

Description

Gets named exposed Matrix4x4.