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