ドキュメント

Unity Engine

Unity Engine

GetInt

Use this method to get the value of a named integer property from the VFXEventAttribute.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GetInt(int)

Use this method to get the value of a named integer property from the VFXEventAttribute.
public int GetInt(int nameID)

Parameters

nameID

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

Returns

Type

Description

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

GetInt(string)

Use this method to get the value of a named integer property from the VFXEventAttribute.
public int GetInt(string name)

Parameters

name

The name of the property.

Returns

Type

Description

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