Sets the location of the selected markers to the offset of their constraint based on the current pose of the skeleton.
Useful during skeleton setup, when manually creating a VST, and as a method of filling gaps.
Note that fillGaps
-constraints may be more appropriate for gap filling. If no flags are used, the marker(s) only snap into place for the current frame.
|Name||Flag arguments||Argument type||Exclusive to||Comments|
|0||—||allTime, defaultValue||Snaps the marker(s) only over the selected ranges|
|0||—||ranges, defaultValue||Snaps the marker(s) over all time|
|0||—||ranges, allTime||Snaps the marker(s) at the current frame and only modifies their default values.|
// Select a marker that is the source of a constraint. Move the marker
// away from its constraint offset location. Execute snapToConstraint
// to move it back to its constraint offset location.