Piccolo.NET

PPositionPathActivity Constructor (Int64, Int64, Int32, ActivityMode, Target, Single[], PointF[])

Constructs a new PPositionPathActivity that will move the target through the given positions in the order specified by the mode, transitioning from position to position as specified by the given knot values and looping the given number of iterations.

public PPositionPathActivity(
   long duration,
   long stepInterval,
   int loopCount,
   ActivityMode mode,
   Target aTarget,
   float[] knots,
   PointF[] positions
);

Parameters

duration
The length of the activity.
stepInterval
The minimum number of milliseconds that this activity should delay between steps.
loopCount
The number of times the activity should reschedule itself.
mode
The mode defines how the activity interpolates between states.
aTarget
The object that the activity will be applied to.
knots
An array of values between 0 and 1 that indicate when the position transitions should occur.
positions
The sequence of points that this activity animates through.

See Also

PPositionPathActivity Class | UMD.HCIL.PiccoloX.Activities Namespace | PPositionPathActivity Constructor Overload List