bCustomDestinationAlignsAxisOrigin

Only used when a custom destination is obtained from CustomDestinationFunc.

Choose your operating system:

Windows

macOS

Linux

Syntax

bool bCustomDestinationAlignsAxisOrigin

Remarks

Only used when a custom destination is obtained from CustomDestinationFunc. When false, the custom destination is simply projected back to the axis to get the resulting parameter. This is useful when trying to align the dragged point on the gizmo to the destination point. If true, the same projection is performed, but the final parameter is adjusted to make the axis origin align to the destination instead, rather than the aligning the grabbed point (since the user probably grabbed the gizmo some distance away from the axis origin).