Piccolo.NET

PInterpolatingActivity Constructor (Int64, Int64, Int64, Int32, ActivityMode)

Constructs a new PInterpolatingActivity that will interpolate between two states in the order specified by the mode, starting at the given start time and looping the given number of iterations.

public PInterpolatingActivity(
   long duration,
   long stepInterval,
   long startTime,
   int loopCount,
   ActivityMode mode
);

Parameters

duration
The length of one loop of the activity.
stepInterval
The minimum number of milliseconds that this activity should delay between steps.
startTime
The time (relative to PUtil.CurrentTimeMillis()) that this activity should start.
loopCount
The number of times the activity should reschedule itself.
mode
The mode defines how the activity interpolates between states.

See Also

PInterpolatingActivity Class | UMD.HCIL.Piccolo.Activities Namespace | PInterpolatingActivity Constructor Overload List