Unit 'GLAnimatedSprite' Package
[Overview][Types][Classes][Index] [#pl_glscene]

TGLSpriteAnimation

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: GLAnimatedSprite.pas line 117

type TGLSpriteAnimation = class(TGLXCollectionItem,IGLMaterialLibrarySupported)

protected

  procedure SetCurrentFrame();

  

  procedure SetFrameWidth();

  

  procedure SetFrameHeight();

  

  procedure WriteToFiler(); override;

  

  procedure ReadFromFiler(); override;

  

  procedure SetDimensions();

  

  procedure SetLibMaterialName();

  

  function GetLibMaterialCached;

  

  procedure SetInterval();

  

  procedure SetFrameRate();

  

  function GetFrameRate;

  

  function GetMaterialLibrary;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  class function FriendlyName; override;

  

  class function FriendlyDescription; override;

  

  property LibMaterialCached: TGLLibMaterial; [r]

  

published

  property CurrentFrame: Integer; [rw]

  

  property StartFrame: Integer; [rw]

  

  property EndFrame: Integer; [rw]

  

  property FrameWidth: Integer; [rw]

  

  property FrameHeight: Integer; [rw]

  

  property LibMaterialName: TGLLibMaterialName; [rw]

  

  property Frames: TGLSpriteAnimFrameList; [r]

  

  property Dimensions: TGLSpriteFrameDimensions; [rw]

  

  property Interval: Integer; [rw]

  

  property FrameRate: Single; [rw]

  

  property Margins: TGLSpriteAnimMargins; [r]

  

end;

Inheritance

TGLSpriteAnimation

  

|

TObject,IGLMaterialLibrarySupported



CT Web help

CodeTyphon Studio