PositionConstraintFunction

Optional position constraint function.

Windows
MacOS
Linux

Syntax

TUniqueFunction< bool &, FVector &)> PositionConstraintFunction

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.

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