Skip to content

ShaderGUIExtensions

Matt Dean edited this page Jan 28, 2020 · 1 revision

Various extension methods used by kShading's ShaderGUI classes.

Public Methods

IsSpecularWorkflow

return bool

Determine if current material is using specular WorkflowMode.

Argument Type Description
material Material Material to test.

SetKeyword

return void

Sets keyword on current Material to value.

Argument Type Description
material Material Material to set keyword on.
keyword string Keyword string to set.
value bool Value to set keyword.