C# Class UnityEditor.LookDevEnvironmentWindow

Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CancelSelection ( ) : void
GetCurrentSelection ( ) : Cubemap
GetSelectedPositionOffset ( ) : Vector2
LookDevEnvironmentWindow ( LookDevView lookDevView ) : System
OnGUI ( int windowID ) : void
PositionToLatLong ( Vector2 position ) : Vector2
ResetShadowCubemap ( ) : void
SetRects ( Rect positionInLookDev, Rect GUIRect, Rect displayRect ) : void

Private Methods

Method Description
ComputeAngleOffsetFromMouseCoord ( Vector2 mousePosition ) : float
DrawLatLongThumbnail ( CubemapInfo infos, float angleOffset, float intensity, float alpha, Rect textureRect ) : void
DrawSelectionFeedback ( Rect textureRect, Color selectionColor1, Color selectionColor2 ) : void
GetFrameAndShadowTextureRect ( Rect textureRect, Rect &frameTextureRect, Rect &shadowTextureRect ) : void
GetInsertionRect ( int envIndex ) : Rect
GetThumbnailRect ( int envIndex ) : Rect
HandleMouseInput ( ) : void
IsPositionInInsertionArea ( Vector2 pos ) : int
IsPositionInThumbnailArea ( Vector2 pos ) : int
LatLongToPosition ( float latitude, float longitude ) : Vector2
RenderOverlayThumbnailIfNeeded ( ) : void

Method Details

CancelSelection() public method

public CancelSelection ( ) : void
return void

GetCurrentSelection() public method

public GetCurrentSelection ( ) : Cubemap
return UnityEngine.Cubemap

GetSelectedPositionOffset() public method

public GetSelectedPositionOffset ( ) : Vector2
return Vector2

LookDevEnvironmentWindow() public method

public LookDevEnvironmentWindow ( LookDevView lookDevView ) : System
lookDevView LookDevView
return System

OnGUI() public method

public OnGUI ( int windowID ) : void
windowID int
return void

PositionToLatLong() public static method

public static PositionToLatLong ( Vector2 position ) : Vector2
position Vector2
return Vector2

ResetShadowCubemap() public method

public ResetShadowCubemap ( ) : void
return void

SetRects() public method

public SetRects ( Rect positionInLookDev, Rect GUIRect, Rect displayRect ) : void
positionInLookDev UnityEngine.Rect
GUIRect UnityEngine.Rect
displayRect UnityEngine.Rect
return void