A snap point connected to an object
Get the position of the snap point in world space
Return the index of the snap point in the list of snap points for the object (as defined in the editor)
Get the position of the snap point relative to its parent object
Return the object to which the snap point is connected
Return the snapping range of the snap point
Return the relative rotation around the Z axis to which the snap point snaps (if rotation snapping is active)
Return the object that is snapped to this point. Returns undefined if no object is found. Objects are not bound to snap points when they are snapped, only their position is adjusted. Therefore, this method is not guaranteed to work correctly. It uses a line trace upwards from the snap point, and if that doesn't find anything a sphere overlap centered at the snap point. The closest object found in either of the traces is returned.
Radius to use for the sphere overlap. If not specified, a quarter of the snap point range is used.
Return whether the object is valid. A snap point becomes invalid after the object it belongs to has been destroyed
Return whether the snap point also snaps rotation