Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObject
- UGizmoElementBase
- UGizmoElementLineBase
- UGizmoElementLineStrip
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementLineStrip.h |
| Include | #include "BaseGizmos/GizmoElementLineStrip.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UGizmoElementLineStrip : public UGizmoElementLineBase
Remarks
Simple object intended to be used as part of 3D Gizmos. Draws a rectangle based on parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Base | Base Location of the line strip. | |
| bool | bDrawLineStrip | Defines if the vertices should be treated as a connected strip or separate line segments. | |
| TArray< FVector > | ProjectedVertices | ||
| FVector | SideDirection | Side direction. | |
| FVector | UpDirection | Up direction. | |
| TArray< FVector > | Vertices | The vertices of the line strip. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ComputeProjectedVertices
(
const FTransform& InLocalToWorldTransform, |
||
| FVector | GetBase () |
||
| bool | |||
| FVector | |||
| FVector | |||
| const TArray< FVector > & | GetVertices () |
||
| FInputRayHit | LineTrace
(
const UGizmoViewContext* ViewContext, |
||
| void | Render
(
IToolsContextRenderAPI* RenderAPI, |
||
| void | SetBase
(
FVector InBase |
Base Location of the line strip. | |
| void | SetDrawLineStrip
(
bool InDrawLineStrip |
Defines if the vertices should be treated as a connected strip or separate line segments. | |
| 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 line strip. |