C# Class UnityEditor.CubemapPreview

Afficher le fichier Open project: CarlosHBC/UnityDecompiled

Méthodes publiques

Свойство Type Description
m_PreviewDir UnityEngine.Vector2

Méthodes publiques

Méthode 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

Méthode Description
InitPreview ( ) : void
RenderCubemap ( Texture t, Vector2 previewDir, float previewDistance ) : void

Method Details

GetMipLevelForRendering() public méthode

public GetMipLevelForRendering ( Texture texture ) : float
texture UnityEngine.Texture
Résultat float

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnPreviewGUI() public méthode

public OnPreviewGUI ( Texture t, Rect r, GUIStyle background ) : void
t UnityEngine.Texture
r UnityEngine.Rect
background UnityEngine.GUIStyle
Résultat void

OnPreviewSettings() public méthode

public OnPreviewSettings ( Object targets ) : void
targets Object
Résultat void

RenderStaticPreview() public méthode

public RenderStaticPreview ( Texture t, int width, int height ) : Texture2D
t UnityEngine.Texture
width int
height int
Résultat UnityEngine.Texture2D

SetIntensity() public méthode

public SetIntensity ( float intensity ) : void
intensity float
Résultat void

Property Details

m_PreviewDir public_oe property

public Vector2,UnityEngine m_PreviewDir
Résultat UnityEngine.Vector2