C# Class UnityEditor.TextureInspector

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

Protected Properties

Property Type Description
m_Aniso UnityEditor.SerializedProperty
m_FilterMode UnityEditor.SerializedProperty
m_WrapMode UnityEditor.SerializedProperty

Public Methods

Method Description
GetInfoString ( ) : string
GetMipLevelForRendering ( ) : float
HasPreviewGUI ( ) : bool
IsNormalMap ( Texture t ) : bool
OnInspectorGUI ( ) : void
OnPreviewGUI ( Rect r, GUIStyle background ) : void
OnPreviewSettings ( ) : void
RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D

Protected Methods

Method Description
DoAnisoLevelSlider ( ) : void
DoFilterModePopup ( ) : void
DoWrapModePopup ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
DoAnisoGlobalSettingNote ( int anisoLevel ) : void
DrawRect ( Rect rect ) : void
IsCubemap ( ) : bool
Log2 ( float x ) : float
SetCubemapIntensity ( float intensity ) : void

Method Details

DoAnisoLevelSlider() protected method

protected DoAnisoLevelSlider ( ) : void
return void

DoFilterModePopup() protected method

protected DoFilterModePopup ( ) : void
return void

DoWrapModePopup() protected method

protected DoWrapModePopup ( ) : void
return void

GetInfoString() public method

public GetInfoString ( ) : string
return string

GetMipLevelForRendering() public method

public GetMipLevelForRendering ( ) : float
return float

HasPreviewGUI() public method

public HasPreviewGUI ( ) : bool
return bool

IsNormalMap() public static method

public static IsNormalMap ( Texture t ) : bool
t UnityEngine.Texture
return bool

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected 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

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

m_Aniso protected_oe property

protected SerializedProperty,UnityEditor m_Aniso
return UnityEditor.SerializedProperty

m_FilterMode protected_oe property

protected SerializedProperty,UnityEditor m_FilterMode
return UnityEditor.SerializedProperty

m_WrapMode protected_oe property

protected SerializedProperty,UnityEditor m_WrapMode
return UnityEditor.SerializedProperty