C# Class UnityEditor.ProceduralMaterialInspector

Inheritance: MaterialEditor
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Protected Properties

Property Type Description
m_PlatformSettings List

Public Methods

Method Description
Awake ( ) : void
BuildTargetList ( ) : void
DisableReimportOnDisable ( ) : void
GetInfoString ( ) : string
HasProceduralTextureProperties ( Material material ) : bool
InputsGUI ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnInspectorGUI ( ) : void
OnPreviewGUI ( Rect r, GUIStyle background ) : void
ReimportSubstances ( ) : void
ReimportSubstancesIfNeeded ( ) : void
ShowIsGenerating ( ProceduralMaterial mat ) : bool
ShowTextureSizeGUI ( ) : void
UndoRedoPerformed ( ) : void

Protected Methods

Method Description
InputOptions ( ProceduralMaterial material ) : void
OffsetScaleGUI ( ProceduralMaterial material ) : void
RecordForUndo ( ProceduralMaterial material, SubstanceImporter importer, string message ) : void
ShowGeneratedTexturesGUI ( ProceduralMaterial material ) : void
ShowProceduralTexturesGUI ( ProceduralMaterial material ) : void
TextureSizeGUI ( ) : void

Private Methods

Method Description
Apply ( ) : void
DisplayRestrictedInspector ( ) : void
DoObjectPingField ( Rect position, Rect dropRect, int id, Object obj, Type objType ) : void
ExportBitmaps ( ProceduralMaterial material, bool alphaRemap ) : void
ExportBitmapsAlphaRemap ( MenuCommand command ) : void
ExportBitmapsNoAlphaRemap ( MenuCommand command ) : void
ExportPreset ( MenuCommand command ) : void
GeneratedTextures ( ) : void
HasModified ( ) : bool
InputGUI ( ProceduralPropertyDescription input ) : void
InputHSLGUI ( ProceduralPropertyDescription hInput, ProceduralPropertyDescription sInput, ProceduralPropertyDescription lInput ) : void
InputSeedGUI ( ProceduralPropertyDescription input ) : void
IsEnabled ( ) : bool
OnAssetStoreInspectorGUI ( ) : void
OnHeaderTitleGUI ( Rect titleRect, string header ) : void
ProceduralProperties ( ) : void
RandomIntField ( Rect position, GUIContent label, int val, int min, int max ) : int
RandomIntField ( Rect position, int val, int min, int max ) : int
ResetSubstance ( MenuCommand command ) : void
ResetValues ( ) : void
ShowAlphaSourceGUI ( ProceduralMaterial material, ProceduralTexture tex, Rect &rect ) : void
TextureValidator ( Object references, Type objType, UnityEditor.SerializedProperty property ) : Object

Method Details

Awake() public method

public Awake ( ) : void
return void

BuildTargetList() public method

public BuildTargetList ( ) : void
return void

DisableReimportOnDisable() public method

public DisableReimportOnDisable ( ) : void
return void

GetInfoString() public method

public GetInfoString ( ) : string
return string

HasProceduralTextureProperties() public method

public HasProceduralTextureProperties ( Material material ) : bool
material UnityEngine.Material
return bool

InputOptions() protected method

protected InputOptions ( ProceduralMaterial material ) : void
material UnityEngine.ProceduralMaterial
return void

InputsGUI() public method

public InputsGUI ( ) : void
return void

OffsetScaleGUI() protected method

protected OffsetScaleGUI ( ProceduralMaterial material ) : void
material UnityEngine.ProceduralMaterial
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 r, GUIStyle background ) : void
r UnityEngine.Rect
background UnityEngine.GUIStyle
return void

RecordForUndo() protected method

protected RecordForUndo ( ProceduralMaterial material, SubstanceImporter importer, string message ) : void
material UnityEngine.ProceduralMaterial
importer SubstanceImporter
message string
return void

ReimportSubstances() public method

public ReimportSubstances ( ) : void
return void

ReimportSubstancesIfNeeded() public method

public ReimportSubstancesIfNeeded ( ) : void
return void

ShowGeneratedTexturesGUI() protected method

protected ShowGeneratedTexturesGUI ( ProceduralMaterial material ) : void
material UnityEngine.ProceduralMaterial
return void

ShowIsGenerating() public static method

public static ShowIsGenerating ( ProceduralMaterial mat ) : bool
mat UnityEngine.ProceduralMaterial
return bool

ShowProceduralTexturesGUI() protected method

protected ShowProceduralTexturesGUI ( ProceduralMaterial material ) : void
material UnityEngine.ProceduralMaterial
return void

ShowTextureSizeGUI() public method

public ShowTextureSizeGUI ( ) : void
return void

TextureSizeGUI() protected method

protected TextureSizeGUI ( ) : void
return void

UndoRedoPerformed() public method

public UndoRedoPerformed ( ) : void
return void

Property Details

m_PlatformSettings protected_oe property

protected List m_PlatformSettings
return List