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 FInitMeshSubGizmoParams
Remarks
Parameter struct for InitializeSubGizmoElementsWithMesh.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bMirrorBasedOnOctant | When true, the sub gizmo is mirrored across the gizmo origin depending on where in relation to the gizmo the camera is positioned. | |
| bool | bRotateTransformBasisBasedOnElement | When true, ComponentToGizmo is adjusted such that the gizmo basis points along the relevant element axis. | |
| TOptional< FLinearColor > | Color | Leaving this unset causes the color to be determined by axis. | |
| FTransform | ComponentToGizmo | ||
| ETransformGizmoSubElements | Elements | If there are multiple elements, the same mesh will be set for all of them. | |
| UStaticMesh * | Mesh | ||
| UCombinedTransformGizmo * | ParentGizmo | ||
| UStaticMesh * | SubstituteInteractionMesh | Mesh to swap in when the user is dragging the gizmo. | |
| FTransform | SubstituteMeshToComponent | Only used when SubstituteInteractionMesh is being set. |