Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObject
- UGizmoElementBase
- UGizmoElementLineBase
- UGizmoElementCircleBase
- UGizmoElementCircle
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementCircle.h |
| Include | #include "BaseGizmos/GizmoElementCircle.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementCircle : public UGizmoElementCircleBase
Remarks
Simple object intended to be used as part of 3D Gizmos. Draws a filled or line circle based on parameters.
The circle element does not yet support partial circles.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDrawLine | Whether to render line circle. | |
| bool | bDrawMesh | Whether to render solid circle. | |
| bool | bHitLine | Whether to perform hit test on line. | |
| bool | bHitMesh | Whether to perform hit test on mesh. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetDrawLine () |
||
| bool | GetDrawMesh () |
||
| bool | GetHitLine () |
||
| bool | GetHitMesh () |
||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetDrawLine
(
bool InDrawLine |
Draw line. | |
| void | SetDrawMesh
(
bool InDrawMesh |
Draw mesh. | |
| void | SetHitLine
(
bool InHitLine |
Hit line. | |
| void | SetHitMesh
(
bool InHitMesh |
Hit mesh. |