Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObject
- UGizmoElementBase
- UGizmoElementTriangleList
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementTriangleList.h |
| Include | #include "BaseGizmos/GizmoElementTriangleList.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementTriangleList : public UGizmoElementBase
Remarks
Simple object intended to be used as part of 3D Gizmos. Draws a solid 3D sphere based on parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Base | Base location the triangles. | |
| TArray< FVector > | ProjectedVertices | ||
| FVector | SideDirection | Side direction. | |
| FVector | UpDirection | Up direction. | |
| TArray< FVector > | Vertices | The vertices of the triangle list, each tuple of 3 forming a triangle. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ComputeProjectedVertices
(
const FTransform& InLocalToWorldTransform, |
||
| FVector | GetBase () |
||
| FVector | |||
| FVector | |||
| const TArray< FVector > & | GetVertices () |
||
| bool | Intersect
(
const FRay& Ray, |
||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetBase
(
FVector InBase |
Base location the triangles. | |
| void | SetSideDirection
(
const FVector& InSideDirection |
Side direction. | |
| void | SetUpDirection
(
const FVector& InUpDirection |
Up direction. | |
| void | SetVertices
(
const TArrayView< const FVector >& InVertices |
The vertices of the triangle list, each tuple of 3 forming a triangle. |