Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/FSubGizmoTransformAdjuster
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FSubGizmoTransformAdjuster > AddTransformAdjuster
(
UViewAdjustedStaticMeshGizmoComponent* ComponentIn, |
Static helper method to create and add this adjuster to a gizmo component for the common case of keeping a constant size gizmo. | BaseGizmos/ViewBasedTransformAdjusters.h | |
static TSharedPtr< FSubGizmoTransformAdjuster > AddTransformAdjuster
(
UViewAdjustedStaticMeshGizmoComponent* ComponentIn, |
BaseGizmos/ViewBasedTransformAdjusters.h |
AddTransformAdjuster(UViewAdjustedStaticMeshGizmoComponent , USceneComponent , bool)
Description
Static helper method to create and add this adjuster to a gizmo component for the common case of keeping a constant size gizmo.
| Name | AddTransformAdjuster |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewBasedTransformAdjusters.h |
| Include Path | #include "BaseGizmos/ViewBasedTransformAdjusters.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/ViewBasedTransformAdjusters.cpp |
static TSharedPtr < FSubGizmoTransformAdjuster > AddTransformAdjuster
(
UViewAdjustedStaticMeshGizmoComponent * ComponentIn,
USceneComponent * GizmoRootComponent,
bool bMirrorBasedOnOctant
)
Parameters
| Name | Remarks |
|---|---|
| GizmoRootComponent | The distance relative to this component is kept constant, and this is the component whose rotation is considered to be 0 when using global mode. |
| bMirrorBasedOnOctant | If true, mirrors the component around the ComponentToKeepDistanceConstantTo depending on which octant of that component the view is located in. |
AddTransformAdjuster(UViewAdjustedStaticMeshGizmoComponent , USceneComponent , TFunction< bool()>)
| Name | AddTransformAdjuster |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewBasedTransformAdjusters.h |
| Include Path | #include "BaseGizmos/ViewBasedTransformAdjusters.h" |
static TSharedPtr < FSubGizmoTransformAdjuster > AddTransformAdjuster
(
UViewAdjustedStaticMeshGizmoComponent * ComponentIn,
USceneComponent * GizmoRootComponent,
TFunction < bool> ShouldMirrorBasedOnOctant
)