C# 클래스 UnityEditor.StandardShaderGUI

상속: ShaderGUI
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AssignNewShaderToMaterial() 공개 메소드

public AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
material UnityEngine.Material
oldShader UnityEngine.Shader
newShader UnityEngine.Shader
리턴 void

FindProperties() 공개 메소드

public FindProperties ( MaterialProperty props ) : void
props MaterialProperty
리턴 void

OnGUI() 공개 메소드

public OnGUI ( MaterialEditor materialEditor, MaterialProperty props ) : void
materialEditor MaterialEditor
props MaterialProperty
리턴 void

SetupMaterialWithBlendMode() 공개 정적인 메소드

public static SetupMaterialWithBlendMode ( Material material, BlendMode blendMode ) : void
material UnityEngine.Material
blendMode BlendMode
리턴 void

ShaderPropertiesGUI() 공개 메소드

public ShaderPropertiesGUI ( Material material ) : void
material UnityEngine.Material
리턴 void