Navigation
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?