ドキュメント

Unity Engine

Unity Engine

HasInt

Checks if the Visual Effect can override an integer with the name you pass in.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

HasInt(int)

Checks if the Visual Effect can override an integer with the name you pass in.
public bool HasInt(int nameID)

Parameters

nameID

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

Returns

Type

Description

bool

HasInt(string)

Checks if the Visual Effect can override an integer with the name you pass in.
public bool HasInt(string name)

Parameters

name

The name of the property.

Returns

Type

Description

bool