Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Simple object intended to be used as part of 3D Gizmos. Draws a rectangle based on parameters.
| Name | UGizmoElementRectangle |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementRectangle.h |
| Include Path | #include "BaseGizmos/GizmoElementRectangle.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementRectangle : public UGizmoElementLineBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoElementBase → UGizmoElementLineBase → UGizmoElementRectangle
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetCenter() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual bool GetDrawLine() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual bool GetDrawMesh() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual float GetHeight() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual bool GetHitLine() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual bool GetHitMesh() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual FVector GetSideDirection() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual FVector GetUpDirection() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual float GetWidth() |
BaseGizmos/GizmoElementRectangle.h | ||
virtual FInputRayHit LineTrace
(
const UGizmoViewContext* ViewContext, |
BaseGizmos/GizmoElementRectangle.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI, |
BaseGizmos/GizmoElementRectangle.h | ||
virtual void SetCenter
(
FVector InCenter |
Location of rectangle center. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetDrawLine
(
bool InDrawLine |
Draw line. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetDrawMesh
(
bool InDrawMesh |
Draw mesh. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetHeight
(
float InHeight |
Height. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetHitLine
(
bool InHitLine |
Hit line. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetHitMesh
(
bool InHitMesh |
Hit mesh. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetSideDirection
(
const FVector& InSideDirection |
Side direction. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetUpDirection
(
const FVector& InUpDirection |
Up direction. | BaseGizmos/GizmoElementRectangle.h | |
virtual void SetWidth
(
float InWidth |
Width. | BaseGizmos/GizmoElementRectangle.h |