UCombinedTransformGizmo::SetDisallowNegativeScaling

[By](API\Developer\AutomationDriver\By) default, the nonuniform scale components can scale negatively.

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 SetDisallowNegativeScaling
(
    bool bDisallow
)

Remarks

By default, the nonuniform scale components can scale negatively. However, they can be made to clamp to zero instead by passing true here. This is useful for using the gizmo to flatten geometry.

TODO: Should this affect uniform scaling too?