ezEngine Release 26.9
Loading...
Searching...
No Matches
ezMeshViewContext Class Reference
Inheritance diagram for ezMeshViewContext:

Public Member Functions

 ezMeshViewContext (ezMeshContext *pMeshContext)
 
bool UpdateThumbnailCamera (const ezBoundingBoxSphere &bounds)
 
virtual void HandleViewMessage (const ezEditorEngineViewMsg *pMsg) override
 
- Public Member Functions inherited from ezEngineProcessViewContext
 ezEngineProcessViewContext (ezEngineProcessDocumentContext *pContext)
 
void SetViewID (ezUInt32 uiId)
 
ezEngineProcessDocumentContextGetDocumentContext () const
 
virtual void SetupRenderTarget (ezGALSwapChainHandle hSwapChain, const ezGALRenderTargets *pRenderTargets, ezUInt16 uiWidth, ezUInt16 uiHeight)
 
virtual void Redraw (bool bRenderEditorGizmos)
 
virtual bool PendingOperationInProgress () const
 
ezViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Protected Member Functions

virtual ezViewHandle CreateView () override
 Create the actual view.
 
virtual void SetCamera (const ezViewRedrawMsgToEngine *pMsg) override
 
void PickObjectAt (ezUInt16 x, ezUInt16 y)
 
- 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 void SetViewProperties (ezView *pView)
 
virtual ezRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual ezRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 
ezViewCreateDefaultView (ezStringView sName)
 

Protected Attributes

ezMeshContextm_pContext = nullptr
 
ezUInt32 m_uiLastHoveredPartIndex = ezInvalidIndex
 
- Protected Attributes inherited from ezEngineProcessViewContext
ezCamera m_Camera
 
ezViewHandle m_hView
 
ezUInt32 m_uiViewID
 

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.
 

Member Function Documentation

◆ CreateView()

ezViewHandle ezMeshViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements ezEngineProcessViewContext.

◆ HandleViewMessage()

void ezMeshViewContext::HandleViewMessage ( const ezEditorEngineViewMsg pMsg)
overridevirtual

Reimplemented from ezEngineProcessViewContext.

◆ SetCamera()

void ezMeshViewContext::SetCamera ( const ezViewRedrawMsgToEngine pMsg)
overrideprotectedvirtual

Reimplemented from ezEngineProcessViewContext.


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