Class TResourceFrame

Unit

Declaration

type TResourceFrame = class(TCastleTransform)

Description

Display a specified frame of the specified animation. This is reliable even when multiple TResourceFrame request different frames from the same animation.

Hierarchy

Overview

Methods

Protected procedure LocalRender(const Params: TRenderParams); override;
Public destructor Destroy; override;
Public procedure SetFrame(const Level: TAbstractLevel; const AnAnimation: T3DResourceAnimation; const ATime: TFloatTime; const ALoop: boolean);

Properties

Public property Animation: T3DResourceAnimation read FAnimation;
Public property Time: TFloatTime read FTime;
Public property Loop: boolean read FLoop;

Description

Methods

Protected procedure LocalRender(const Params: TRenderParams); override;
 
Public destructor Destroy; override;
 
Public procedure SetFrame(const Level: TAbstractLevel; const AnAnimation: T3DResourceAnimation; const ATime: TFloatTime; const ALoop: boolean);

Set which animation and animation frame to display.

Properties

Public property Animation: T3DResourceAnimation read FAnimation;
 
Public property Time: TFloatTime read FTime;

Time within the ResourceAnimation.

Public property Loop: boolean read FLoop;

Should we loop within ResourceAnimation.


Generated by PasDoc 0.15.0.