C# Class SpineSpriteShaderGUI, spine-runtimes

Inheritance: UnityEditor.ShaderGUI
Mostra file Open project: EsotericSoftware/spine-runtimes

Public Methods

Method Description
AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
OnGUI ( MaterialEditor materialEditor, MaterialProperty properties ) : void

Protected Methods

Method Description
FindProperties ( MaterialProperty props ) : void
RenderColorProperties ( string label, Material material ) : void
RenderEmissionProperties ( Material material ) : void
RenderRimLightingProperties ( Material material ) : void
RenderTextureProperties ( string label, Material material ) : void
ShaderPropertiesGUI ( Material material ) : void

Private Methods

Method Description
BlendModePopup ( ) : void
GetMaterialBlendMode ( Material material ) : eBlendMode
Heading ( string label ) : void
LightingModePopup ( ) : void
MaterialChanged ( Material material ) : void
SetBlendMode ( Material material, eBlendMode blendMode ) : void
SetDefaultSpriteKeywords ( Material material, Shader shader ) : void
SetKeyword ( Material m, string keyword, bool state ) : void
SetLightModeFromShader ( Material material ) : void
SetMaterialKeywords ( Material material ) : void
SetRenderQueue ( Material material, string queue ) : void
ToggleHeadingKeyword ( string label, Material material, string keyword ) : bool
UseMeshNormalsCheckbox ( Material material ) : bool

Method Details

AssignNewShaderToMaterial() public method

public AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
material Material
oldShader Shader
newShader Shader
return void

FindProperties() protected method

protected FindProperties ( MaterialProperty props ) : void
props MaterialProperty
return void

OnGUI() public method

public OnGUI ( MaterialEditor materialEditor, MaterialProperty properties ) : void
materialEditor MaterialEditor
properties MaterialProperty
return void

RenderColorProperties() protected method

protected RenderColorProperties ( string label, Material material ) : void
label string
material Material
return void

RenderEmissionProperties() protected method

protected RenderEmissionProperties ( Material material ) : void
material Material
return void

RenderRimLightingProperties() protected method

protected RenderRimLightingProperties ( Material material ) : void
material Material
return void

RenderTextureProperties() protected method

protected RenderTextureProperties ( string label, Material material ) : void
label string
material Material
return void

ShaderPropertiesGUI() protected method

protected ShaderPropertiesGUI ( Material material ) : void
material Material
return void