C# Class UnityEditor.SceneView

Inheritance: SearchableEditorWindow, IHasCustomMenu
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
lastFramingTime double
m_AudioPlay bool
m_RenderMode DrawCameraMode
onSceneGUIDelegate OnSceneFunc

Public Methods

Method Description
AddItemsToMenu ( GenericMenu menu ) : void
AlignViewToObject ( Transform t ) : void
AlignWithView ( ) : void
FixNegativeSize ( ) : void
FrameLastActiveSceneView ( ) : bool
FrameLastActiveSceneViewWithLock ( ) : bool
FrameSelected ( ) : bool
FrameSelected ( bool lockView ) : bool
GetAllSceneCameras ( ) : UnityEngine.Camera[]
LookAt ( Vector3 pos ) : void
LookAt ( Vector3 pos, Quaternion rot ) : void
LookAt ( Vector3 pos, Quaternion rot, float newSize ) : void
LookAt ( Vector3 pos, Quaternion rot, float newSize, bool ortho ) : void
LookAt ( Vector3 pos, Quaternion rot, float newSize, bool ortho, bool instant ) : void
LookAtDirect ( Vector3 pos, Quaternion rot ) : void
LookAtDirect ( Vector3 pos, Quaternion rot, float newSize ) : void
MoveToView ( ) : void
MoveToView ( Transform target ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
SceneView ( ) : System

Private Methods

Method Description
ActivateSelection ( ) : void
AddCursorRect ( Rect rect, MouseCursor cursor ) : void
Awake ( ) : void
CalcCameraDist ( ) : float
CallEditorDragFunctions ( ) : void
CallOnPreSceneGUI ( ) : void
CallOnSceneGUI ( ) : void
CheckDrawModeForRenderingPath ( DrawCameraMode mode ) : bool
CleanupCustomSceneLighting ( ) : void
CleanupEditorDragFunctions ( ) : void
CommandsGUI ( ) : void
ComponentHasImageEffectAttribute ( Component c ) : bool
CreateCameraTargetTexture ( Rect cameraRect, bool hdr ) : void
CreateMipColorsTexture ( ) : void
CreateSceneCameraAndLights ( ) : void
DefaultHandles ( ) : void
DoClearCamera ( Rect cameraRect ) : void
DoDrawCamera ( Rect cameraRect, bool &pushedGUIClip ) : void
DoOnPreSceneGUICallbacks ( Rect cameraRect ) : void
DoToolbarGUI ( ) : void
DoesCameraDrawModeSupportDeferred ( DrawCameraMode mode ) : bool
DoesCameraDrawModeSupportHDR ( DrawCameraMode mode ) : bool
DrawRenderModeOverlay ( Rect cameraRect ) : void
Frame ( Bounds bounds ) : bool
GetActiveEditors ( ) : UnityEditor.Editor[]
GetMainCamera ( ) : Camera
GetSceneViewRenderingPath ( ) : RenderingPath
GetVerticalFOV ( float aspectNeutralFOV ) : float
GetVerticalOrthoSize ( ) : float
Handle2DModeSwitch ( ) : void
HandleClickAndDragToFocus ( ) : void
HandleDragging ( ) : void
HandleMouseCursor ( ) : void
HandleSelectionAndOnSceneGUI ( ) : void
HandleViewToolCursor ( ) : void
InputForGizmosThatAreRenderedOnTopOfSceneView ( ) : void
IsSceneCameraDeferred ( ) : bool
IsUsingDeferredRenderingPath ( ) : bool
LoadRenderDoc ( ) : void
MenuAlignViewToSelected ( ) : void
MenuAlignWithView ( ) : void
MenuMoveToBack ( ) : void
MenuMoveToFront ( ) : void
MenuMoveToView ( ) : void
On2DModeChange ( ) : void
OnBecameInvisible ( ) : void
OnBecameVisible ( ) : void

Method Details

AddItemsToMenu() public method

public AddItemsToMenu ( GenericMenu menu ) : void
menu GenericMenu
return void

AlignViewToObject() public method

public AlignViewToObject ( Transform t ) : void
t UnityEngine.Transform
return void

AlignWithView() public method

public AlignWithView ( ) : void
return void

FixNegativeSize() public method

public FixNegativeSize ( ) : void
return void

FrameLastActiveSceneView() public static method

public static FrameLastActiveSceneView ( ) : bool
return bool

FrameLastActiveSceneViewWithLock() public static method

public static FrameLastActiveSceneViewWithLock ( ) : bool
return bool

FrameSelected() public method

public FrameSelected ( ) : bool
return bool

FrameSelected() public method

public FrameSelected ( bool lockView ) : bool
lockView bool
return bool

GetAllSceneCameras() public static method

public static GetAllSceneCameras ( ) : UnityEngine.Camera[]
return UnityEngine.Camera[]

LookAt() public method

public LookAt ( Vector3 pos ) : void
pos Vector3
return void

LookAt() public method

public LookAt ( Vector3 pos, Quaternion rot ) : void
pos Vector3
rot UnityEngine.Quaternion
return void

LookAt() public method

public LookAt ( Vector3 pos, Quaternion rot, float newSize ) : void
pos Vector3
rot UnityEngine.Quaternion
newSize float
return void

LookAt() public method

public LookAt ( Vector3 pos, Quaternion rot, float newSize, bool ortho ) : void
pos Vector3
rot UnityEngine.Quaternion
newSize float
ortho bool
return void

LookAt() public method

public LookAt ( Vector3 pos, Quaternion rot, float newSize, bool ortho, bool instant ) : void
pos Vector3
rot UnityEngine.Quaternion
newSize float
ortho bool
instant bool
return void

LookAtDirect() public method

public LookAtDirect ( Vector3 pos, Quaternion rot ) : void
pos Vector3
rot UnityEngine.Quaternion
return void

LookAtDirect() public method

public LookAtDirect ( Vector3 pos, Quaternion rot, float newSize ) : void
pos Vector3
rot UnityEngine.Quaternion
newSize float
return void

MoveToView() public method

public MoveToView ( ) : void
return void

MoveToView() public method

public MoveToView ( Transform target ) : void
target UnityEngine.Transform
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

SceneView() public method

public SceneView ( ) : System
return System

Property Details

lastFramingTime public_oe property

public double lastFramingTime
return double

m_AudioPlay public_oe property

public bool m_AudioPlay
return bool

m_RenderMode public_oe property

public DrawCameraMode m_RenderMode
return DrawCameraMode

onSceneGUIDelegate public_oe static_oe property

public static OnSceneFunc onSceneGUIDelegate
return OnSceneFunc