glscene

 

TGLBaseSceneObject

Page history last edited by skinhat 3 yrs ago

Base class for all scene objects.

A scene object is part of scene hierarchy (each scene object can have multiple children), this hierarchy primarily defines transformations (each child coordinates are relative to its parent), but is also used for depth-sorting, bounding and visibility culling purposes.

Subclasses implement either visual scene objects (that are made to be visible at runtime, like a Cube) or structural objects (that influence rendering or are used for varied structural manipulations, like the ProxyObject).
To add children at runtime, use the AddNewChild method of TGLBaseSceneObject;
other children manipulations methods and properties are provided (to browse,
move and delete them). Using the regular TComponent methods is not

encouraged.

Unit: GLScene

Descends from TGLCoordinatesUpdateAbleComponent.

Comments (0)

You don't have permission to comment on this page.