Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UGizmoElementBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool UpdateLineTraceState
(
const UGizmoViewContext* ViewContext, |
Update line trace state during line trace traversal, determines the current state for this element | BaseGizmos/GizmoElementBase.h | |
virtual bool UpdateLineTraceState
(
const UGizmoViewContext* ViewContext, |
Update line trace state during line trace traversal, determines the current state for this element Same parameters as UpdateLineTraceState above plus two output parameters: | BaseGizmos/GizmoElementBase.h |
UpdateLineTraceState(const UGizmoViewContext *, const FVector &, FLineTraceTraversalState &)
Description
Update line trace state during line trace traversal, determines the current state for this element
| Name | UpdateLineTraceState |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h |
| Include Path | #include "BaseGizmos/GizmoElementBase.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoElementBase.cpp |
virtual bool UpdateLineTraceState
(
const UGizmoViewContext * ViewContext,
const FVector & InLocalCenter,
FLineTraceTraversalState & InOutLineTraceState
)
view dependent visibility, true if this element is visible in the current view.
Parameters
| Name | Remarks |
|---|---|
| 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. |
UpdateLineTraceState(const UGizmoViewContext *, const FVector &, FLineTraceTraversalState &, bool &, FQuat &)
Description
Update line trace state during line trace traversal, determines the current state for this element Same parameters as UpdateLineTraceState above plus two output parameters:
| Name | UpdateLineTraceState |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h |
| Include Path | #include "BaseGizmos/GizmoElementBase.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoElementBase.cpp |
virtual bool UpdateLineTraceState
(
const UGizmoViewContext * ViewContext,
const FVector & InLocalCenter,
FLineTraceTraversalState & InOutRenderState,
bool & bOutHasAlignRot,
FQuat & OutAlignRot
)
Parameters
| Name | Remarks |
|---|---|
| bOutHasAlignRot | whether alignment rotation was applied to output state |
| OutAlignRot | alignment rotation applied to output state, if applicable. |