ezEngine Release 25.08
Loading...
Searching...
No Matches
ezSceneViewContext Class Reference
Inheritance diagram for ezSceneViewContext:

Public Member Functions

 ezSceneViewContext (ezSceneContext *pSceneContext)
 
virtual void HandleViewMessage (const ezEditorEngineViewMsg *pMsg) override
 
virtual void SetupRenderTarget (ezGALSwapChainHandle hSwapChain, const ezGALRenderTargets *pRenderTargets, ezUInt16 uiWidth, ezUInt16 uiHeight) override
 
bool UpdateThumbnailCamera (const ezBoundingBoxSphere &bounds)
 
void SetInvisibleLayerTags (const ezArrayPtr< ezTag > removeTags, const ezArrayPtr< ezTag > addTags)
 
- Public Member Functions inherited from ezEngineProcessViewContext
 ezEngineProcessViewContext (ezEngineProcessDocumentContext *pContext)
 
void SetViewID (ezUInt32 uiId)
 
ezEngineProcessDocumentContextGetDocumentContext () const
 
ezViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Protected Member Functions

virtual void Redraw (bool bRenderEditorGizmos) override
 
virtual void SetCamera (const ezViewRedrawMsgToEngine *pMsg) override
 
virtual ezViewHandle CreateView () override
 Create the actual view.
 
void PickObjectAt (ezUInt16 x, ezUInt16 y)
 
void MarqueePickObjects (const ezViewMarqueePickingMsgToEngine *pMsg)
 
- Protected Member Functions inherited from ezEngineProcessViewContext
void SendViewMessage (ezEditorEngineViewMsg *pViewMsg)
 
void HandleWindowUpdate (ezWindowHandle hWnd, ezUInt16 uiWidth, ezUInt16 uiHeight)
 
void OnSwapChainChanged (ezGALSwapChainHandle hSwapChain, ezSizeU32 size)
 
virtual ezRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual ezRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 

Additional Inherited Members

- Static Public Member Functions inherited from ezEngineProcessViewContext
static bool FocusCameraOnObject (ezCamera &inout_camera, const ezBoundingBoxSphere &objectBounds, float fFov, const ezVec3 &vViewDir)
 Focuses camera on the given object.
 
- Protected Attributes inherited from ezEngineProcessViewContext
ezCamera m_Camera
 
ezViewHandle m_hView
 
ezUInt32 m_uiViewID
 

Member Function Documentation

◆ CreateView()

ezViewHandle ezSceneViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements ezEngineProcessViewContext.

◆ HandleViewMessage()

void ezSceneViewContext::HandleViewMessage ( const ezEditorEngineViewMsg pMsg)
overridevirtual

Reimplemented from ezEngineProcessViewContext.

◆ Redraw()

void ezSceneViewContext::Redraw ( bool  bRenderEditorGizmos)
overrideprotectedvirtual

Reimplemented from ezEngineProcessViewContext.

◆ SetCamera()

void ezSceneViewContext::SetCamera ( const ezViewRedrawMsgToEngine pMsg)
overrideprotectedvirtual

Reimplemented from ezEngineProcessViewContext.

◆ SetupRenderTarget()

void ezSceneViewContext::SetupRenderTarget ( ezGALSwapChainHandle  hSwapChain,
const ezGALRenderTargets pRenderTargets,
ezUInt16  uiWidth,
ezUInt16  uiHeight 
)
overridevirtual

Reimplemented from ezEngineProcessViewContext.


The documentation for this class was generated from the following files: