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