< Zurück | Inhalt | Weiter >

CHAPTER 12

Using Interpolator

12.1 The Interpolator class 12.2 The Alpha class

12.3 Example of Interpolator usage 12.4 Using a cubic−spline interpolator 12.5 Summary 219

The Interpolator class defines the functionality for an important and powerful set of behaviors that deserve extra mention. The behaviors derived from Interpolator allow an object’s current state to be interpolated between a set of defined states as a function of time.


This chapter introduces the Interpolator classes and the Alpha class, which is used to control the speed of interpolation.