Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Simple object intended to be used as part of 3D Gizmos. Draws a solid 3D cylinder based on parameters.
| Name | UGizmoElementCylinder |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementCylinder.h |
| Include Path | #include "BaseGizmos/GizmoElementCylinder.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementCylinder : public UGizmoElementBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoElementBase → UGizmoElementCylinder
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetBase() |
BaseGizmos/GizmoElementCylinder.h | ||
virtual FVector GetDirection() |
BaseGizmos/GizmoElementCylinder.h | ||
virtual float GetHeight() |
BaseGizmos/GizmoElementCylinder.h | ||
virtual int32 GetNumSides() |
BaseGizmos/GizmoElementCylinder.h | ||
virtual float GetRadius() |
BaseGizmos/GizmoElementCylinder.h | ||
virtual FInputRayHit LineTrace
(
const UGizmoViewContext* ViewContext, |
BaseGizmos/GizmoElementCylinder.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI, |
BaseGizmos/GizmoElementCylinder.h | ||
virtual void SetBase
(
const FVector& InBase |
Location of center of cylinder's base circle. | BaseGizmos/GizmoElementCylinder.h | |
virtual void SetDirection
(
const FVector& InDirection |
Cylinder axis direction. | BaseGizmos/GizmoElementCylinder.h | |
virtual void SetHeight
(
float InHeight |
Cylinder height. | BaseGizmos/GizmoElementCylinder.h | |
virtual void SetNumSides
(
int32 InNumSides |
Number of sides for tessellating cylinder. | BaseGizmos/GizmoElementCylinder.h | |
virtual void SetRadius
(
float InRadius |
Cylinder radius. | BaseGizmos/GizmoElementCylinder.h |