C# Class SpineSpriteShaderGUI, spine-runtimes

Inheritance: UnityEditor.ShaderGUI
Afficher le fichier Open project: EsotericSoftware/spine-runtimes

Méthodes publiques

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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
material Material
oldShader Shader
newShader Shader
Résultat void

FindProperties() protected méthode

protected FindProperties ( MaterialProperty props ) : void
props MaterialProperty
Résultat void

OnGUI() public méthode

public OnGUI ( MaterialEditor materialEditor, MaterialProperty properties ) : void
materialEditor MaterialEditor
properties MaterialProperty
Résultat void

RenderColorProperties() protected méthode

protected RenderColorProperties ( string label, Material material ) : void
label string
material Material
Résultat void

RenderEmissionProperties() protected méthode

protected RenderEmissionProperties ( Material material ) : void
material Material
Résultat void

RenderRimLightingProperties() protected méthode

protected RenderRimLightingProperties ( Material material ) : void
material Material
Résultat void

RenderTextureProperties() protected méthode

protected RenderTextureProperties ( string label, Material material ) : void
label string
material Material
Résultat void

ShaderPropertiesGUI() protected méthode

protected ShaderPropertiesGUI ( Material material ) : void
material Material
Résultat void