Structure

CAAT uses a director as its base element. It contains different scenes which handle a set of containers and single elements.

Visually, contained elements would look like this:

CAAT.Foundation.Director +

CAAT.Foundation.Scene +

CAAT.Foundation.Actor *

CAAT.Foundation.ActorContainer *

CAAT.Foundation.ActorContainer *

CAAT.Foundation.Actor *

This is CAAT's scene graph, where an undefined number of Scenes contain an unlimited number of Actors and Containers. Containers, contains at the same time other Containers or Actors.

Scene and Director are an specialized type of ActorContainer instance.

Transformations applied to ActorContainer objects are hierarchically applied regardless its nesting position in the scene graph, and are accumulated from container to children.

See demo8 and demo26 for a visual explanation of transformations from parent to child.