Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObject
- UGizmoElementBase
- UGizmoElementSphere
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementSphere.h |
| Include | #include "BaseGizmos/GizmoElementSphere.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementSphere : public UGizmoElementBase
Remarks
Simple object intended to be used as part of 3D Gizmos. Draws a solid 3D sphere based on parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Center | Location of center of sphere. | |
| int32 | NumSides | Number of sides for tessellating sphere. | |
| float | Radius | Sphere radius. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetCenter () |
||
| int32 | GetNumSides () |
||
| float | GetRadius () |
||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetCenter
(
const FVector& InCenter |
Location of center of sphere. | |
| void | SetNumSides
(
int32 InNumSides |
Number of sides for tessellating sphere. | |
| void | SetRadius
(
float InRadius |
Sphere radius. |