The Sampler function
takes one argument. This is a JigPrompts of
EditorInput. JigPrompts is used in the Sampler function to control
what happens when the entity is being dragged. For example you can use the
AcquirePoint function of the JigPrompts to get a point or use the
AcquireDistance method to get a distance from the user. The Sampler Function Returns a
SamplerStatus Emumeration. You need to determine the value of the SamplerStatus
to return. If the location of the drag
has not changed you return SamplerStatus.NoChange. Doing this will stop the
drag image from doing excisive flickering. Remember that these functions are
continuously called during the drag. If there is a change in the location of
the drag you return SamplerStatus.OK. |