Piccolo.NET

UMD.HCIL.Piccolo.Activities Namespace

This namespace supports Piccolo activities. Activities are used to control some time dependent aspect of Piccolo such as animation

Classes

ClassDescription
PActivityPActivity controls some time dependent aspect of Piccolo, such as animation.
PActivitySchedulerPActivityScheduler is responsible for managing a list of activities to be processed.
PColorActivityPColorActivity interpolates between two colors for its target over the duration of the animation.
PInterpolatingActivityPInterpolatingActivity interpolates between two states (source and destination) over the duration of the activity.
PTransformActivityPTransformActivity interpolates between two transforms setting its target's transform as it goes.

Interfaces

InterfaceDescription
PActivity.PActivityDelegatePActivityDelegate is used by classes to learn about and act on the different states that a PActivity goes through, such as when the activity starts and stops stepping.
PColorActivity.TargetTarget objects that want their color to be set by the color activity must implement this interface.
PTransformActivity.TargetTarget objects that want to get transformed by the transform activity must implement this interface.

Delegates

DelegateDescription
ActivityFinishedDelegate Used to notify classes when the activity has finished.
ActivityStartedDelegate Used to notify classes when the activity has started.
ActivitySteppedDelegate Used to notify classes when the activity is running.

Enumerations

EnumerationDescription
ActivityMode This enumeration is used by the PInterpolatingActivity class. It represents the types of interpolation that the activity can perform.
TerminationBehavior This enumeration is used by the PActivity class. It defines the behavior an activity has when its Terminate method is called.