C3DObject::CreateScene

Top  Previous  Next

Syntax:

 

CreateScene(C3DScreen pScreen)

 

Purpose:

Creates a scene object. The scene object can have an unlimited number of children.

 

Parameters:

pScreen - The parent C3DScreen.

 

Returned value(s):

 

Application:

scene.CreateScene(scrn1)
scene.AddChild(light)
scene.AddChild(m)

 

Class Hierarchy

C3DObject

 

Additional Info:

Objects are maintained in a hierarchy.  The scene object serves as the master parent for all objects.  You can have many scene objects in your program as needed.

 

See Also:

AddChild