Class TSpriteAnimation
Unit
Declaration
type TSpriteAnimation = class(TObject)
Description
Custom animation of a sprite. Used by TSprite.AddAnimation and TSprite.PlayAnimation. Animation is defined as an array of frames.
Hierarchy
- TObject
- TSpriteAnimation
Overview
Methods
constructor CreateConstantFps(const AFrames: array of Cardinal; const FramesPerSecond: Single); |
|
constructor Create(const AFrames: array of TSpriteAnimationFrame); |
Properties
property Duration: TFloatTime read FDuration; |
Description
Methods
constructor CreateConstantFps(const AFrames: array of Cardinal; const FramesPerSecond: Single); |
|
This item has no description. |
constructor Create(const AFrames: array of TSpriteAnimationFrame); |
|
This item has no description. |
Properties
property Duration: TFloatTime read FDuration; |
|
Duration, in seconds, of this animation. |
Generated by PasDoc 0.16.0-snapshot.