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

VisualEffect.GetInt

Switch to Manual
public int GetInt (int nameID);
public int GetInt (string name);

Parameters

nameID通过 Shader.PropertyToID 检索的属性的名称 ID。
name属性的名称。

Returns

int The exposed integer value (or 0 if VisualEffect.HasInt returns false).

Description

Get named exposed integer.