Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGizmoElementBase
- UGizmoElementBox
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBox.h |
| Include | #include "BaseGizmos/GizmoElementBox.h" |
Syntax
class UGizmoElementBox : public UGizmoElementBase
Remarks
Simple object intended to be used as part of 3D Gizmos. Draws a solid 3D cylinder based on parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Center | Location of center of box. | |
| FVector | Dimensions | Box dimensions. | |
| FVector | SideDirection | Box side axis, corresponds to Y dimension. | |
| FVector | UpDirection | Box up axis, corresponds to Z dimension. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetCenter () |
||
| FVector | |||
| FVector | |||
| FVector | |||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetCenter
(
const FVector& InCenter |
Location of center of box's base circle. | |
| void | SetDimensions
(
const FVector& InDimensions |
Box dimensions. | |
| void | SetSideDirection
(
const FVector& InSideDirection |
Box axis side direction. | |
| void | SetUpDirection
(
const FVector& InUpDirection |
Box axis up direction. |