SequentialSlotsProvider Class
This ISnapSlotsProvider uses a ordered list of individual Slots and will push the elements back or forth to make room for the new element.
void TrackElement ( int id,
Pose p )
Indicates that a new element is tracking.
ParametersidThe element id to track.
poseThe pose of the element.
void UntrackElement ( int id )
Indicates that an element is no longer being tracked.
ParametersidThe element id to stop tracking.
void SnapElement ( int id,
Pose pose )
Indicates that the tracked element should snap.
ParametersidThe element id to snap.
poseThe pose of the element.
void UnsnapElement ( int id )
Indicates that the element should no longer snap.
ParametersidThe element id to stop snapping.
void MoveTrackedElement ( int id,
Pose p )
Indicates that a tracked element pose has updated.
ParametersposeThe new element pose.
bool SnapPoseForElement ( int id,
Pose pose,
out Pose result )
The target snap pose for a queried element id.
ReturnsTrue if the element has a pose to snap to.
void InjectAllSequentialSlotsProvider ( List< Transform > slots )
void InjectSlots ( List< Transform > slots )