static Vector3 Snap( Vector3 input, Vector3 movement )

Summary

Will snap this position, depending on the current snap settings and keys that are pressed. Will snap along if movement is detected along that axis. For example, if movement is 1,0,0 then we'll only snap on the x axis.

static Angles Snap( Angles input, Angles movement )

Summary

Will snap this position, depending on the current snap settings and keys that are pressed. Will snap along if movement is detected along that axis. For example, if movement is 1,0,0 then we'll only snap on the x axis.

static BBox Snap( BBox startBox, BBox movement )

Summary

Applies snapping to a box being resized using delta tracking. Returns a properly snapped box.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.