public int GetInt (int nameID);
public int GetInt (string name);

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.

Returns

int The value for the integer you specify. Returns 0 if VFXEventAttribute.HasInt returns false.

Description

Use this method to get the value of a named integer property from the VFXEventAttribute.