C# 클래스 UnityEditor.MaterialToggleDrawer

상속: MaterialPropertyDrawer
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled

보호된 프로퍼티들

프로퍼티 타입 설명
keyword string

공개 메소드들

메소드 설명
Apply ( MaterialProperty prop ) : void
GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
MaterialToggleDrawer ( ) : System
MaterialToggleDrawer ( string keyword ) : System
OnGUI ( Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void

보호된 메소드들

메소드 설명
SetKeyword ( MaterialProperty prop, bool on ) : void
SetKeywordInternal ( MaterialProperty prop, bool on, string defaultKeywordSuffix ) : void

비공개 메소드들

메소드 설명
IsPropertyTypeSuitable ( MaterialProperty prop ) : bool

메소드 상세

Apply() 공개 메소드

public Apply ( MaterialProperty prop ) : void
prop MaterialProperty
리턴 void

GetPropertyHeight() 공개 메소드

public GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
prop MaterialProperty
label string
editor MaterialEditor
리턴 float

MaterialToggleDrawer() 공개 메소드

public MaterialToggleDrawer ( ) : System
리턴 System

MaterialToggleDrawer() 공개 메소드

public MaterialToggleDrawer ( string keyword ) : System
keyword string
리턴 System

OnGUI() 공개 메소드

public OnGUI ( Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void
position UnityEngine.Rect
prop MaterialProperty
label UnityEngine.GUIContent
editor MaterialEditor
리턴 void

SetKeyword() 보호된 메소드

protected SetKeyword ( MaterialProperty prop, bool on ) : void
prop MaterialProperty
on bool
리턴 void

SetKeywordInternal() 보호된 메소드

protected SetKeywordInternal ( MaterialProperty prop, bool on, string defaultKeywordSuffix ) : void
prop MaterialProperty
on bool
defaultKeywordSuffix string
리턴 void

프로퍼티 상세

keyword 보호되어 있는 프로퍼티

protected string keyword
리턴 string