VisualEffect.GetInt

Declaration

public int GetInt(int nameID);

Declaration

public int GetInt(string name);

Parameters

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name The name of the property.

Returns

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

Description

Get a named exposed integer.


Did you find this page useful? Please give it a rating: