Piccolo.NET

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

Constructs a new PPositionPathActivity that will move the target through the given positions (from source to destination), transitioning from position to position as specified by the given knot values.

public PPositionPathActivity(
   long duration,
   long stepInterval,
   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.
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