Behaviours give a scene object TGLBaseSceneObject a behaviour such as making a noise, or spouting fire or moving plus many more. Behaviours is a collection of behaviour so it is possible for a scene object to have more than one behaviour at one time. Therefore, for example, a scene object spout fire and be making a noise at the same time. Behaviours can be set at design time or runtime.
Important TGLBehaviours properties include:
count :integer
Number of behaviours
behaviour [i:integer]:TGLBehaviour
A behaviour in the collection with index 'i'.
Unit: GLScene
Descends from TXCollection
Comments (0)
You don't have permission to comment on this page.