C# Class UnityEditor.CubemapPreview

Exibir arquivo Open project: CarlosHBC/UnityDecompiled

Public Properties

Property Type Description
m_PreviewDir UnityEngine.Vector2

Public Methods

Method Description
GetMipLevelForRendering ( Texture texture ) : float
OnDisable ( ) : void
OnPreviewGUI ( Texture t, Rect r, GUIStyle background ) : void
OnPreviewSettings ( Object targets ) : void
RenderStaticPreview ( Texture t, int width, int height ) : Texture2D
SetIntensity ( float intensity ) : void

Private Methods

Method Description
InitPreview ( ) : void
RenderCubemap ( Texture t, Vector2 previewDir, float previewDistance ) : void

Method Details

GetMipLevelForRendering() public method

public GetMipLevelForRendering ( Texture texture ) : float
texture UnityEngine.Texture
return float

OnDisable() public method

public OnDisable ( ) : void
return void

OnPreviewGUI() public method

public OnPreviewGUI ( Texture t, Rect r, GUIStyle background ) : void
t UnityEngine.Texture
r UnityEngine.Rect
background UnityEngine.GUIStyle
return void

OnPreviewSettings() public method

public OnPreviewSettings ( Object targets ) : void
targets Object
return void

RenderStaticPreview() public method

public RenderStaticPreview ( Texture t, int width, int height ) : Texture2D
t UnityEngine.Texture
width int
height int
return UnityEngine.Texture2D

SetIntensity() public method

public SetIntensity ( float intensity ) : void
intensity float
return void

Property Details

m_PreviewDir public_oe property

public Vector2,UnityEngine m_PreviewDir
return UnityEngine.Vector2