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.
Source: base_rendering/castleglimages_sprite.inc (line 33).
Hierarchy
- TObject
- TSpriteAnimation
Overview
Methods
| Public | constructor CreateConstantFps(const AFrames: array of Cardinal; const FramesPerSecond: Single); |
| Public | constructor Create(const AFrames: array of TSpriteAnimationFrame); |
Properties
| Public | property Duration: TFloatTime read FDuration; |
Description
Methods
| Public | constructor CreateConstantFps(const AFrames: array of Cardinal; const FramesPerSecond: Single); |
|
This item has no description. | |
| Public | constructor Create(const AFrames: array of TSpriteAnimationFrame); |
|
This item has no description. | |
Properties
| Public | property Duration: TFloatTime read FDuration; |
|
Duration, in seconds, of this animation. | |
Generated by PasDoc 0.17.0.snapshot.