Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Parameter struct for InitializeSubGizmoElementsWithMesh.
| Name | FInitMeshSubGizmoParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformSubGizmoUtil.h |
| Include Path | #include "BaseGizmos/TransformSubGizmoUtil.h" |
Syntax
struct FInitMeshSubGizmoParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMirrorBasedOnOctant | bool | When true, the sub gizmo is mirrored across the gizmo origin depending on where in relation to the gizmo the camera is positioned. | BaseGizmos/TransformSubGizmoUtil.h | |
| bRotateTransformBasisBasedOnElement | bool | When true, ComponentToGizmo is adjusted such that the gizmo basis points along the relevant element axis. | BaseGizmos/TransformSubGizmoUtil.h | |
| Color | TOptional< FLinearColor > | Leaving this unset causes the color to be determined by axis. | BaseGizmos/TransformSubGizmoUtil.h | |
| ComponentToGizmo | FTransform | BaseGizmos/TransformSubGizmoUtil.h | ||
| Elements | ETransformGizmoSubElements | If there are multiple elements, the same mesh will be set for all of them. | BaseGizmos/TransformSubGizmoUtil.h | |
| Mesh | UStaticMesh * | BaseGizmos/TransformSubGizmoUtil.h | ||
| ParentGizmo | UCombinedTransformGizmo * | BaseGizmos/TransformSubGizmoUtil.h | ||
| SubstituteInteractionMesh | UStaticMesh * | Mesh to swap in when the user is dragging the gizmo. | BaseGizmos/TransformSubGizmoUtil.h | |
| SubstituteMeshToComponent | FTransform | Only used when SubstituteInteractionMesh is being set. | BaseGizmos/TransformSubGizmoUtil.h |