C# Class UnityEditor.StandardShaderGUI

Inheritance: ShaderGUI
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
FindProperties ( MaterialProperty props ) : void
OnGUI ( MaterialEditor materialEditor, MaterialProperty props ) : void
SetupMaterialWithBlendMode ( Material material, BlendMode blendMode ) : void
ShaderPropertiesGUI ( Material material ) : void

Private Methods

Méthode Description
BlendModePopup ( ) : void
DetermineWorkflow ( MaterialProperty props ) : void
DoAlbedoArea ( Material material ) : void
DoEmissionArea ( Material material ) : void
DoSpecularMetallicArea ( ) : void
GetSmoothnessMapChannel ( Material material ) : SmoothnessMapChannel
HasValidEmissiveKeyword ( Material material ) : bool
MaterialChanged ( Material material, WorkflowMode workflowMode ) : void
SetKeyword ( Material m, string keyword, bool state ) : void
SetMaterialKeywords ( Material material, WorkflowMode workflowMode ) : void
ShouldEmissionBeEnabled ( Material mat, Color color ) : bool

Method Details

AssignNewShaderToMaterial() public méthode

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

FindProperties() public méthode

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

OnGUI() public méthode

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

SetupMaterialWithBlendMode() public static méthode

public static SetupMaterialWithBlendMode ( Material material, BlendMode blendMode ) : void
material UnityEngine.Material
blendMode BlendMode
Résultat void

ShaderPropertiesGUI() public méthode

public ShaderPropertiesGUI ( Material material ) : void
material UnityEngine.Material
Résultat void