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

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

Description

Gets a named stored Matrix4x4.