UTransformGizmo::SetDisallowNegativeScaling

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

Unreal Engine C++ API Reference > Editor > EditorInteractiveToolsFramework > EditorGizmos > UTransformGizmo

References

   
Module EditorInteractiveToolsFramework
Header /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/TransformGizmo.h
Include #include "EditorGizmos/TransformGizmo.h"
Source /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EditorGizmos/TransformGizmo.cpp
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?


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library