Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGizmoElementBase
- UGizmoElementCone
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementCone.h |
| Include | #include "BaseGizmos/GizmoElementCone.h" |
Syntax
class UGizmoElementCone : public UGizmoElementBase
Remarks
Simple object intended to be used as part of 3D Gizmos. Draws a solid 3D cone based on parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Direction | Cone axis direction pointing from tip toward base of cone. | |
| float | Height | Cone height. | |
| int32 | NumSides | Number of sides for tessellating cone. | |
| FVector | Origin | Cone tip location. | |
| float | Radius | Cone radius. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetDirection () |
||
| float | GetHeight () |
||
| int32 | GetNumSides () |
||
| FVector | GetOrigin () |
||
| float | GetRadius () |
||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetDirection
(
const FVector& InDirection |
Cone axis direction pointing from tip toward base of cone. | |
| void | SetHeight
(
float InHeight |
Cone height. | |
| void | SetNumSides
(
int32 InNumSides |
Number of sides for tessellating cone. | |
| void | SetOrigin
(
const FVector& InBase |
Cone tip location. | |
| void | SetRadius
(
float InRadius |
Cone radius. |