Castle Game Engine: CastlePrecalculatedAnimation

# Unit CastlePrecalculatedAnimation
Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables
## Description A precalculated 3D animation rendered in OpenGL (TCastlePrecalculatedAnimation). ## Uses SysUtils Classes X3DNodes CastleRenderer CastleSceneCore CastleScene CastleUtils CastleBoxes CastleClassUtils CastlePrecalculatedAnimationCore CastleKeysMouse CastleTimeUtils CastleFrustum CastleVectors Castle3D X3DTriangles FGL CastleTriangles CastleRectangles ## 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 2015-06-15 04:43:10