Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Helper struct used to pass parameters to the BuildDashedLine method. Also defines unique behavior for building dashes, which differs between world and screen-space.
| Name | FDashLineSettings |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoMath.h |
| Include Path | #include "BaseGizmos/GizmoMath.h" |
Syntax
struct FDashLineSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Color | FColor | Color of the line | BaseGizmos/GizmoMath.h | |
| DashGapLength | float | Length of gaps between dashes | BaseGizmos/GizmoMath.h | |
| DashLength | float | Dashes length | BaseGizmos/GizmoMath.h | |
| LineFractionInView | double | Reflects the fraction of the line (in world space) that's visible - e.g. 0.5 means half of the line is visible | BaseGizmos/GizmoMath.h | |
| MaterialInterface | const UMaterialInterface * | The material interface used by the line | BaseGizmos/GizmoMath.h | |
| MaxNumDashes | int32 | Arbitrary maximum to prevent overflow in the case of very long cylinders | BaseGizmos/GizmoMath.h | |
| NumSides | int32 | Resolution of the cylinder used to render the line - 3 or more vertices required | BaseGizmos/GizmoMath.h | |
| ParamToRadiusScaleFunction | TFunction< double(const double &InParam)> | Returns the radius scale at the given param (0-1) | BaseGizmos/GizmoMath.h | |
| ParamToWorldFunction | TFunction< double(const double &InParam)> | Converts the given parameter along the length (0-1) to a world fraction. | BaseGizmos/GizmoMath.h | |
| Radius | float | Radius of the line | BaseGizmos/GizmoMath.h | |
| RenderLocalToWorldMatrix | FMatrix | The local to world matrix which will be applied to the line geometry vertices | BaseGizmos/GizmoMath.h | |
| ScaledLength | double | Scaled Line length, e.g. matching pixel to world scale | BaseGizmos/GizmoMath.h | |
| ScreenEndPoint | FVector | End point of the line | BaseGizmos/GizmoMath.h | |
| ScreenStartPoint | FVector | Start point of the line | BaseGizmos/GizmoMath.h | |
| TotalLength | double | Total length of the line. | BaseGizmos/GizmoMath.h | |
| WorldStartFraction | double | World-space fraction offset - non-zero only when the line origin is clamped | BaseGizmos/GizmoMath.h |