ドキュメント

Unity Engine

Download Unity

Unity Engine

HasBool

Checks if the Visual Effect can override a bool with the name you pass in.
読み終わるまでの所要時間 1 分最終更新 23日前

Definition

HasBool(int)

Checks if the Visual Effect can override a bool with the name you pass in.
public bool HasBool(int nameID)

Parameters

nameID

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

Returns

Type

Description

boolTrue if the Visual Effect can override a bool with that name. Otherwise, false.

HasBool(string)

Checks if the Visual Effect can override a bool with the name you pass in.
public bool HasBool(string name)

Parameters

name

The name of the property.

Returns

Type

Description

boolTrue if the Visual Effect can override a bool with that name. Otherwise, false.