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 | UGizmoElementTriangleList |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementTriangleList.h |
| Include Path | #include "BaseGizmos/GizmoElementTriangleList.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementTriangleList : public UGizmoElementBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoElementBase → UGizmoElementTriangleList
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetBase() |
BaseGizmos/GizmoElementTriangleList.h | ||
virtual FVector GetSideDirection() |
BaseGizmos/GizmoElementTriangleList.h | ||
virtual FVector GetUpDirection() |
BaseGizmos/GizmoElementTriangleList.h | ||
virtual const TArray< FVector > & GetVertices() |
BaseGizmos/GizmoElementTriangleList.h | ||
virtual FInputRayHit LineTrace
(
const UGizmoViewContext* ViewContext, |
BaseGizmos/GizmoElementTriangleList.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI, |
BaseGizmos/GizmoElementTriangleList.h | ||
virtual void SetBase
(
FVector InBase |
Base location the triangles. | BaseGizmos/GizmoElementTriangleList.h | |
virtual void SetSideDirection
(
const FVector& InSideDirection |
Side direction. | BaseGizmos/GizmoElementTriangleList.h | |
virtual void SetUpDirection
(
const FVector& InUpDirection |
Up direction. | BaseGizmos/GizmoElementTriangleList.h | |
virtual void SetVertices
(
const TArrayView< const FVector >& InVertices |
The vertices of the triangle list, each tuple of 3 forming a triangle. | BaseGizmos/GizmoElementTriangleList.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ComputeProjectedVertices
(
const FTransform& InLocalToWorldTransform, |
BaseGizmos/GizmoElementTriangleList.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool Intersect
(
const FRay& Ray, |
BaseGizmos/GizmoElementTriangleList.h |