UCombinedTransformGizmo::SetIsNonUniformScaleAllowedFunction

[By](API\Developer\AutomationDriver\By) default, non-uniform scaling handles appear (assuming they exist in the gizmo to begin with), when CurrentCoordinateSystem == [EToolContextCoordinateSystem::Local](API\Runtime\InteractiveToolsFramework\EToolContextCoordinateSystem), since components can only be locally scaled.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/CombinedTransformGizmo.h

Include

#include "BaseGizmos/CombinedTransformGizmo.h"

Source

/Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/CombinedTransformGizmo.cpp

Syntax

virtual void SetIsNonUniformScaleAllowedFunction
(
    TUniqueFunction< bool()> && IsNonUniformScaleAllowed
)

Remarks

By default, non-uniform scaling handles appear (assuming they exist in the gizmo to begin with), when CurrentCoordinateSystem == EToolContextCoordinateSystem::Local, since components can only be locally scaled. However, this can be changed to a custom check here, perhaps to hide them in extra conditions or to always show them (if the gizmo is not scaling a component).