Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UGizmoElementBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool UpdateRenderState
(
IToolsContextRenderAPI* RenderAPI, |
Update render state during render traversal, determines the current render state for this element | BaseGizmos/GizmoElementBase.h | |
virtual bool UpdateRenderState
(
IToolsContextRenderAPI* RenderAPI, |
Update render state during render traversal, determines the current render state for this element Same parameters as UpdateRenderState above plus two output parameters: | BaseGizmos/GizmoElementBase.h |
UpdateRenderState(IToolsContextRenderAPI *, const FVector &, FRenderTraversalState &)
Description
Update render state during render traversal, determines the current render state for this element
| Name | UpdateRenderState |
| 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 UpdateRenderState
(
IToolsContextRenderAPI * RenderAPI,
const FVector & InLocalCenter,
FRenderTraversalState & InOutRenderState
)
view dependent visibility, true if this element is visible in the current view.
Parameters
| Name | Remarks |
|---|---|
| RenderAPI | tools render context |
| InLocalCenter | local element center position |
| InOutRenderState | render state's local to world transform will be updated with translation to center and view-dependent alignment rotation, if applicable. |
UpdateRenderState(IToolsContextRenderAPI *, const FVector &, FRenderTraversalState &, bool &, FQuat &)
Description
Update render state during render traversal, determines the current render state for this element Same parameters as UpdateRenderState above plus two output parameters:
| Name | UpdateRenderState |
| 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 UpdateRenderState
(
IToolsContextRenderAPI * RenderAPI,
const FVector & InLocalCenter,
FRenderTraversalState & 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. |