Unit CastlePrecalculatedAnimation

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

A precalculated 3D animation rendered in OpenGL (TCastlePrecalculatedAnimation).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCastlePrecalculatedAnimation A "precalculated" animation done by interpolating between a number of 3D model states.

Functions and Procedures

procedure Register;

Types

TGetRootNodeWithTime = procedure (const Index: Cardinal; out RootNode: TX3DRootNode; out Time: Single) of object;
TCastlePrecalculatedAnimationList = specialize TFPGObjectList<TCastlePrecalculatedAnimation>;

Constants

DefaultAnimationSmoothness = 1.0;

Variables

AnimationSmoothness: Single = DefaultAnimationSmoothness;

Description

Functions and Procedures

procedure Register;
 

Types

TGetRootNodeWithTime = procedure (const Index: Cardinal; out RootNode: TX3DRootNode; out Time: Single) of object;
 
TCastlePrecalculatedAnimationList = specialize TFPGObjectList<TCastlePrecalculatedAnimation>;
 

Constants

DefaultAnimationSmoothness = 1.0;
 

Variables

AnimationSmoothness: Single = DefaultAnimationSmoothness;

Default Smoothness value for TCastlePrecalculatedAnimation.LoadFromFile. This allows to globally control the precalculated animations quality. Saved as user preference to Config (if your program will call Config.Load and Config.Save, see CastleConfig).


Generated by PasDoc 0.13.0 on 2014-04-30 22:06:44