Piccolo.NET

PPathActivity Constructor (Int64, Int64, Int32, ActivityMode, Single[])

Constructs a new PPathActivity that will interpolate between multiple states in the order specified by the mode, transitioning from state to state as specified by the given knot values and looping the given number of iterations.

public PPathActivity(
   long duration,
   long stepInterval,
   int loopCount,
   ActivityMode mode,
   float[] knots
);

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.
knots
An array of values between 0 and 1 that indicate when the state transitions should occur.

See Also

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