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

VFXEventAttribute.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 stored Matrix4x4 (or Matrix4x4.identity if VFXEventAttribute.HasMatrix4x4 returns false).

Description

Gets a named stored Matrix4x4.