Interface for viewport selection behaviors. More...
#include <ViewportMessages.h>
Inherited by AzToolsFramework::ViewportInteraction::InternalViewportSelectionRequests, and AzToolsFramework::ViewportInteraction::ViewportSelectionRequests.
Public Member Functions | |
virtual void | DisplayViewportSelection (const AzFramework::ViewportInfo &, AzFramework::DebugDisplayRequests &) |
virtual void | DisplayViewportSelection2d (const AzFramework::ViewportInfo &, AzFramework::DebugDisplayRequests &) |
Interface for viewport selection behaviors.
|
inlinevirtual |
Display drawing in world space. DisplayViewportSelection is called from EditorInteractionSystemComponent::DisplayViewport. DisplayViewport exists on the AzFramework::ViewportDebugDisplayEventBus and is called from CRenderViewport. DisplayViewportSelection is called after CalculateVisibleEntityDatas on the EditorVisibleEntityDataCache, this ensures usage of the entity cache will be up to date (do not implement AzFramework::ViewportDebugDisplayEventBus directly if wishing to use the EditorVisibleEntityDataCache).
Reimplemented in AzToolsFramework::EditorPickEntitySelection, and AzToolsFramework::EditorTransformComponentSelection.
|
inlinevirtual |
Display drawing in screen space. DisplayViewportSelection2d is called after DisplayViewportSelection when the viewport has been configured to be orthographic in CRenderViewport. All screen space drawing can be performed here.
Reimplemented in AzToolsFramework::EditorTransformComponentSelection.