PresentationPlayer

PresentationPlayer class

Represents the player of animations associated with the Presentation.

PresentationPlayer

NameDescription
PresentationPlayer(PresentationAnimationsGenerator, double)Creates new instance of the PresentationPlayer.

Parameters:

NameTypeDescription
generatorPresentationAnimationsGeneratorPresentation animations generator
fpsdoubleFrames per second (FPS)

Returns: PresentationPlayer


dispose

NameDescription
dispose ()Disposes the instance of the PresentationPlayer.

Returns: void


getFrameIndex

NameDescription
getFrameIndex ()Gets the frame index.

Returns: int


setFrameTick

NameDescription
setFrameTick (PresentationPlayer.FrameTick)Set a new frame tick event. Occurs when each frame of the animation created by PresentationAnimationsGenerator is generated by the player.

Parameters:

NameTypeDescription
eventPresentationPlayer.FrameTickFrame tick event.

Returns: void