This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.GetMatrix4x4

Declaration

public Matrix4x4 GetMatrix4x4(int nameID);

Declaration

public Matrix4x4 GetMatrix4x4(string name);

Parameters

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

Returns

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

Description

Gets named exposed Matrix4x4.