Allows scene objects to be switched based upon the distance the object is from the camera. For example, when generating a forest, close to the camera could be a TGLTree, further away from the camera could be a sprite and furthest away a TGLPoints. This can increase the frame rate by reducing the number of objects that require a lot of resources to display. The 'masterobjects' property provides a list of different objects to be specified with an associated distance. These can be set at design time.
A list of the objects that are to be switched based upon the distance from the camera.
Descends from TGLSceneObject
| || |