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
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleTransform
- TResourceFrame
Overview
Methods
![]() |
procedure LocalRender(const Params: TRenderParams); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure SetFrame(const Level: TAbstractLevel; const AnAnimation: T3DResourceAnimation; const ATime: TFloatTime; const ALoop: boolean); |
Properties
![]() |
property Animation: T3DResourceAnimation read FAnimation; |
![]() |
property Time: TFloatTime read FTime; |
![]() |
property Loop: boolean read FLoop; |
Description
Methods
![]() |
procedure LocalRender(const Params: TRenderParams); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure SetFrame(const Level: TAbstractLevel; const AnAnimation: T3DResourceAnimation; const ATime: TFloatTime; const ALoop: boolean); |
|
Set which animation and animation frame to display. | |
Properties
![]() |
property Animation: T3DResourceAnimation read FAnimation; |
![]() |
property Time: TFloatTime read FTime; |
|
Time within the ResourceAnimation. | |
![]() |
property Loop: boolean read FLoop; |
|
Should we | |
Generated by PasDoc 0.16.0.

