Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UGizmoElementBase > API/Runtime/InteractiveToolsFramework/BaseGizmos/UGizmoElementBase/UpdateLineTraceS-
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h |
| Include | #include "BaseGizmos/GizmoElementBase.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoElementBase.cpp |
virtual bool UpdateLineTraceState
&40;
const UGizmoViewContext &42; ViewContext,
const FVector & InLocalCenter,
FLineTraceTraversalState & InOutLineTraceState
&41;
Remarks
Update line trace state during line trace traversal, determines the current state for this element view dependent visibility, true if this element is visible in the current view.
Parameters
| Name | Description |
|---|---|
| ViewContext | current gizmo view context |
| InLocalCenter | local element center position, this will update InOutLineTraceState's LocalToWorldTransform with a translation to LocalCenter |
| InOutLineTraceState | line trace state's local to world transform will be updated with translation to center and view-dependent alignment rotation, if applicable. |