Render Viewport image.
Render ToolBar.
Render FloatingInfo.
Render Gizmos.
End Viewport Slate.
Render Viewport image.
Render ToolBar.
Render FloatingInfo.
Render Gizmos.
End Viewport Slate.
114 {
116
118
122 Begin(0.5, ImGuiWindowFlags_NoTitleBar);
123
127 {
129
131 }
132
137
142
147
152
154 }
#define SPICES_PROFILE_ZONEN(...)
#define SPICES_PROFILE_ZONE
static void CustomMaterialImage(SlateImage *context, ImVec2 size)
Draw image with custom material.
void Begin(float alpha=1.0f, ImGuiWindowFlags flags=0)
Begin a common slate.
ImVec2 m_PanelSize
This slate's size.
std::shared_ptr< ImguiViewportToolBar > m_ToolBar
The shared pointer of ImguiGizmos.
std::shared_ptr< ImguiGizmos > m_Gizmos
The shared pointer of ImguiGizmos.
std::shared_ptr< scl::behave_state_list< void > > m_ToggleStateList
Toggle behave state list.
std::shared_ptr< ImguiFloatingInfo > m_FloatingInfo
The shared pointer of ImguiFloatingInfo.
std::shared_ptr< SlateImage > m_ViewportContext
SlateImage of SceneColor.
behave_state_node< Ret, Args... > * GetState() const
Get current state node.
void IncreateState()
Current State move forward.
void ExecuteBehave(const std::string &name, Args... args)
Execute a behave in this state.