Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Simple object intended to be used as part of 3D Gizmos. Draws a 3D arrowhead based on parameters.
| Name | UGizmoElementArrowHead |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementArrowHead.h |
| Include Path | #include "BaseGizmos/GizmoElementArrowHead.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementArrowHead : public UGizmoElementGroupBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoElementBase → UGizmoElementLineBase → UGizmoElementGroupBase → UGizmoElementArrowHead
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGizmoElementArrowHead() |
BaseGizmos/GizmoElementArrowHead.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetCenter() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual FVector GetDirection() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual float GetLength() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual int32 GetNumSides() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual float GetRadius() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual FVector GetSideDirection() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual EGizmoElementArrowHeadType GetType() |
BaseGizmos/GizmoElementArrowHead.h | ||
virtual void SetCenter
(
const FVector& InCenter |
Location of center of the arrow head. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetDirection
(
const FVector& InDirection |
Arrow direction. | BaseGizmos/GizmoElementArrowHead.h | |
void SetHitMask
(
const TWeakObjectPtr< UGizmoElementBase >& InHitMask |
Hit Mask Gizmo element used for adaptive pixel hit threshold. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetLength
(
float InLength |
Arrow head length, used for both cone and cube head. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetNumSides
(
int32 InNumSides |
Number of sides for cylinder and cone, if relevant. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetRadius
(
float InRadius |
Arrow head radius, if cone or sphere. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetSideDirection
(
const FVector& InSideDirection |
Arrow side direction for box head. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetType
(
EGizmoElementArrowHeadType InHeadType |
Head type cone or cube. | BaseGizmos/GizmoElementArrowHead.h |
Overridden from UGizmoElementGroupBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Render
(
IToolsContextRenderAPI* RenderAPI, |
BaseGizmos/GizmoElementArrowHead.h |
Overridden from UGizmoElementBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit LineTrace
(
const UGizmoViewContext* ViewContext, |
Line trace enabled hittable element. | BaseGizmos/GizmoElementArrowHead.h | |
virtual void SetPixelHitDistanceThreshold
(
float InPixelHitDistanceThreshold |
Pixel hit distance threshold, element will be scaled enough to add this threshold when line-tracing. | BaseGizmos/GizmoElementArrowHead.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Update() |
Update the appropriate shape based on parameters. | BaseGizmos/GizmoElementArrowHead.h |