C# Class UnityEditor.SubstanceImporterInspector

Inheritance: Editor
显示文件 Open project: CarlosHBC/UnityDecompiled

Public Properties

Property Type Description
lightMode int
previewDir Vector2
selectedMesh int

Protected Properties

Property Type Description
m_IsVisible bool

Public Methods

Method Description
GetInfoString ( ) : string
HasPreviewGUI ( ) : bool
InstanciatePrototype ( object prototypeName ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnInspectorGUI ( ) : void
OnPreviewGUI ( Rect position, GUIStyle style ) : void
OnPreviewSettings ( ) : void
RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D

Protected Methods

Method Description
DoRenderPreview ( Object subAssets ) : void

Private Methods

Method Description
ApplyAndRefresh ( bool exitGUI ) : void
GetImporter ( ) : SubstanceImporter
GetSelectedMaterial ( ) : ProceduralMaterial
GetSelectedMaterialInspector ( ) : Editor
GetSortedMaterials ( ) : UnityEngine.ProceduralMaterial[]
Init ( ) : void
MaterialListing ( ) : void
MaterialManagement ( ) : void
SelectNextMaterial ( ) : void

Method Details

DoRenderPreview() protected method

protected DoRenderPreview ( Object subAssets ) : void
subAssets Object
return void

GetInfoString() public method

public GetInfoString ( ) : string
return string

HasPreviewGUI() public method

public HasPreviewGUI ( ) : bool
return bool

InstanciatePrototype() public method

public InstanciatePrototype ( object prototypeName ) : void
prototypeName object
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void

OnPreviewGUI() public method

public OnPreviewGUI ( Rect position, GUIStyle style ) : void
position UnityEngine.Rect
style UnityEngine.GUIStyle
return void

OnPreviewSettings() public method

public OnPreviewSettings ( ) : void
return void

RenderStaticPreview() public method

public RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D
assetPath string
subAssets Object
width int
height int
return UnityEngine.Texture2D

Property Details

lightMode public_oe property

public int lightMode
return int

m_IsVisible protected_oe property

protected bool m_IsVisible
return bool

previewDir public_oe property

public Vector2 previewDir
return Vector2

selectedMesh public_oe property

public int selectedMesh
return int