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

VFXEventAttribute.GetBool

Switch to Manual
public bool GetBool (int nameID);
public bool GetBool (string name);

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.

Returns

bool The stored boolean value (or false if VFXEventAttribute.HasBool returns false).

Description

Gets a named stored boolean.