UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IToolsContextRenderAPI Class Referenceabstract

#include <ToolContextInterfaces.h>

Public Member Functions

virtual ~IToolsContextRenderAPI ()
 
virtual FPrimitiveDrawInterfaceGetPrimitiveDrawInterface ()=0
 
virtual const FSceneViewGetSceneView ()=0
 
virtual FViewCameraState GetCameraState ()=0
 
virtual EViewInteractionState GetViewInteractionState ()=0
 

Detailed Description

Users of the Tools Framework need to implement IToolsContextRenderAPI to allow Tools, Indicators, and Gizmos to make low-level rendering calls for things like line drawing. This API will be passed to eg UInteractiveTool::Render(), so access is only provided when it makes sense to call the functions

Constructor & Destructor Documentation

◆ ~IToolsContextRenderAPI()

virtual IToolsContextRenderAPI::~IToolsContextRenderAPI ( )
inlinevirtual

Member Function Documentation

◆ GetCameraState()

virtual FViewCameraState IToolsContextRenderAPI::GetCameraState ( )
pure virtual
Returns
Current Camera State for this Render API

◆ GetPrimitiveDrawInterface()

virtual FPrimitiveDrawInterface * IToolsContextRenderAPI::GetPrimitiveDrawInterface ( )
pure virtual
Returns
Current PDI

◆ GetSceneView()

virtual const FSceneView * IToolsContextRenderAPI::GetSceneView ( )
pure virtual
Returns
Current FSceneView

◆ GetViewInteractionState()

virtual EViewInteractionState IToolsContextRenderAPI::GetViewInteractionState ( )
pure virtual
Returns
Current interaction state of the view to render

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