Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Simple object intended to be used as part of 3D Gizmos. Draws a solid 3D cone based on parameters.
| Name | UGizmoElementCone |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementCone.h |
| Include Path | #include "BaseGizmos/GizmoElementCone.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementCone : public UGizmoElementBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoElementBase → UGizmoElementCone
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetDirection() |
BaseGizmos/GizmoElementCone.h | ||
virtual bool GetEndCaps() |
BaseGizmos/GizmoElementCone.h | ||
virtual float GetHeight() |
BaseGizmos/GizmoElementCone.h | ||
virtual int32 GetNumSides() |
BaseGizmos/GizmoElementCone.h | ||
virtual FVector GetOrigin() |
BaseGizmos/GizmoElementCone.h | ||
virtual float GetRadius() |
BaseGizmos/GizmoElementCone.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI, |
BaseGizmos/GizmoElementCone.h | ||
virtual void SetDirection
(
const FVector& InDirection |
Cone axis direction pointing from tip toward base of cone. | BaseGizmos/GizmoElementCone.h | |
virtual void SetEndCaps
(
bool InEndCaps |
Whether to render and end cap on the base of the cone. | BaseGizmos/GizmoElementCone.h | |
virtual void SetHeight
(
float InHeight |
Cone height. | BaseGizmos/GizmoElementCone.h | |
virtual void SetNumSides
(
int32 InNumSides |
Number of sides for tessellating cone. | BaseGizmos/GizmoElementCone.h | |
virtual void SetOrigin
(
const FVector& InBase |
Cone tip location. | BaseGizmos/GizmoElementCone.h | |
virtual void SetRadius
(
float InRadius |
Cone radius. | BaseGizmos/GizmoElementCone.h |
Overridden from UGizmoElementBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit LineTrace
(
const UGizmoViewContext* ViewContext, |
Line trace enabled hittable element. | BaseGizmos/GizmoElementCone.h |