Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGizmoElementBase
- UGizmoElementCylinder
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementCylinder.h |
| Include | #include "BaseGizmos/GizmoElementCylinder.h" |
Syntax
class UGizmoElementCylinder : 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 | Base | Location of center of cylinder's base circle. | |
| FVector | Direction | Cylinder axis direction. | |
| float | Height | Cylinder height. | |
| int32 | NumSides | Number of sides for tessellating cylinder. | |
| float | Radius | Cylinder radius. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetBase () |
||
| FVector | GetDirection () |
||
| float | GetHeight () |
||
| int32 | GetNumSides () |
||
| float | GetRadius () |
||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetBase
(
const FVector& InBase |
Location of center of cylinder's base circle. | |
| void | SetDirection
(
const FVector& InDirection |
Cylinder axis direction. | |
| void | SetHeight
(
float InHeight |
Cylinder height. | |
| void | SetNumSides
(
int32 InNumSides |
Number of sides for tessellating cylinder. | |
| void | SetRadius
(
float InRadius |
Cylinder radius. |