ドキュメント

Unity Engine

Unity Engine

IsEnabled

Check whether a specific shader keyword is enabled.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

IsEnabled(ShaderKeyword)

Check whether a specific shader keyword is enabled.
public bool IsEnabled(ShaderKeyword keyword)

Parameters

Returns

Type

Description

bool

IsEnabled(GlobalKeyword)

Check whether a specific shader keyword is enabled.
public bool IsEnabled(GlobalKeyword keyword)

Parameters

Returns

Type

Description

bool

IsEnabled(LocalKeyword)

Check whether a specific shader keyword is enabled.
public bool IsEnabled(LocalKeyword keyword)

Parameters

Returns

Type

Description

bool