Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework > API/Editor/EditorInteractiveToolsFramework/UTransformGizmo
Description
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?
| Name | SetDisallowNegativeScaling |
| Type | function |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/TransformGizmo.h |
| Include Path | #include "EditorGizmos/TransformGizmo.h" |
| Source | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EditorGizmos/TransformGizmo.cpp |
virtual void SetDisallowNegativeScaling
(
bool bDisallow
)