Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformSubGizmoUtil.h |
| Include | #include "BaseGizmos/TransformSubGizmoUtil.h" |
Syntax
struct FTransformSubGizmoCommonParams
Remarks
Common parameters needed for initializing a sub gizmo. Used in several sub gizmo reinitialization functions (such as UAxisPositionGizmo::InitializeAsTranslateGizmo).
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAxis::Type | Axis | ||
| bool | bAxisIsBasedOnRootComponent | If true, we use the axis of the root gizmo component. | |
| bool | bManipulatesRootComponent | If true, the gizmo moves the parent root component rather than just its own component, like the standard TRS sub gizmos do. | |
| UPrimitiveComponent * | Component | ||
| UObject * | OuterForSubobjects | Transient package is used if custom outer is not provided. | |
| TOptional< FText > | TransactionName | Default transaction name and provider are used if not provided. | |
| IToolContextTransactionProvider * | TransactionProvider | ||
| UTransformProxy * | TransformProxy |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int | Returns the Axis parameter as an index in the range [0,2] where 0 corresponds to X (or None), 1 corresponds to Y, and 2 corresponds to Z. |