XII Release 0.1.0
Loading...
Searching...
No Matches
xiiSkeletonViewContext Class Reference
Inheritance diagram for xiiSkeletonViewContext:
[legend]

Public Member Functions

 xiiSkeletonViewContext (xiiSkeletonContext *pContext)
 Copyright (c) Theophilus Eriata. All Rights Reserved.
bool UpdateThumbnailCamera (const xiiBoundingBoxSphere &bounds)
Public Member Functions inherited from xiiEngineProcessViewContext
 xiiEngineProcessViewContext (xiiEngineProcessDocumentContext *pContext)
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void SetViewID (xiiUInt32 uiId)
xiiEngineProcessDocumentContext * GetDocumentContext () const
virtual void SetupRenderTarget (xiiSharedPtr< xiiGALSwapChain > pSwapChain, xiiGALTextureView *pRenderTargetView, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
virtual void Redraw (bool bRenderEditorGizmos)
virtual void SuspendRendering ()
 Consumes this frame's redraw request without discarding camera or pipeline state.
xiiRegisteredWindowHandle GetWindowHandle () const
xiiViewHandle GetViewHandle () const
void SetRenderPipelineProfile (const xiiPlatformProfile *profile)
void SetRenderPipelineResourceReference (xiiStringView resource)

Protected Member Functions

virtual xiiViewHandle CreateView () override
 Create the actual view.
virtual void SetCamera (const xiiViewRedrawMsgToEngine *pMsg) override
virtual void HandleViewMessage (const xiiEditorEngineViewMsg *pMsg) override
void PickObjectAt (xiiUInt16 x, xiiUInt16 y)
Protected Member Functions inherited from xiiEngineProcessViewContext
xiiView * GetView () const
xiiResult ResolveRenderPipeline (xiiRenderPipelineUsage::Enum usage, xiiRenderPipelineResourceHandle &out_pipeline)
void UpdateRenderPipeline (xiiView &view)
xiiResult DrawGrid (float fSpacing, const xiiTransform &transform=xiiTransform::MakeIdentity(), bool bGlobal=true)
 Submits reusable grid geometry to this view's regular debug-render passes.
xiiResult PickGizmoAtPixel (xiiUInt32 x, xiiUInt32 y, xiiViewPickingResultMsgToEditor &out_result) const
void SendViewMessage (xiiEditorEngineViewMsg *pViewMsg)
void HandleWindowUpdate (xiiWindowHandle hWnd, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
void OnSwapChainChanged (xiiSharedPtr< xiiGALSwapChain > pSwapChain, xiiSizeU32 size)

Protected Attributes

xiiSkeletonContext * m_pContext = nullptr
Protected Attributes inherited from xiiEngineProcessViewContext
xiiCamera m_Camera
xiiViewHandle m_hView
xiiUInt32 m_uiViewID
xiiRegisteredWindowHandle m_hEditorWindow

Additional Inherited Members

Static Public Member Functions inherited from xiiEngineProcessViewContext
static bool FocusCameraOnObject (xiiCamera &inout_camera, const xiiBoundingBoxSphere &objectBounds, float fFov, const xiiVec3 &vViewDir)
 Focuses camera on the given object.

Member Function Documentation

◆ CreateView()

xiiViewHandle xiiSkeletonViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements xiiEngineProcessViewContext.

◆ HandleViewMessage()

void xiiSkeletonViewContext::HandleViewMessage ( const xiiEditorEngineViewMsg * pMsg)
overrideprotectedvirtual

Reimplemented from xiiEngineProcessViewContext.

◆ SetCamera()

void xiiSkeletonViewContext::SetCamera ( const xiiViewRedrawMsgToEngine * pMsg)
overrideprotectedvirtual

Reimplemented from xiiEngineProcessViewContext.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EnginePluginAssets/SkeletonAsset/SkeletonView.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EnginePluginAssets/SkeletonAsset/SkeletonView.cpp