UGizmoUniformScaleParameterSource::GetParameter

Optional position constraint function.

Windows
MacOS
Linux

Override Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/ParameterToTransformAdapters.h

Include

#include "BaseGizmos/ParameterToTransformAdapters.h"

Syntax

virtual FVector2D GetParameter() const

Remarks

Optional position constraint function. Called during interaction with the new transform origin. To snap the transform to a new position, return as second value, and return true from your lambda. Note that returned snap point will be projected onto the current translation origin/axis.

Returns

true if constraint point was found and should be used, false to ignore

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss