Piccolo.NET

PPathActivity Constructor (Int64, Int64, Single[])

Constructs a new PPathActivity that will interpolate between multiple states from source to destination, transitioning from state to state as specified by the given knot values.

public PPathActivity(
   long duration,
   long stepInterval,
   float[] knots
);

Parameters

duration
The length of the activity.
stepInterval
The minimum number of milliseconds that this activity should delay between steps.
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