Packageorg.papervision3d.scenes
Classpublic class Scene3D
InheritanceScene3D Inheritance SceneObject3D Inheritance DisplayObjectContainer3D Inheritance flash.events.EventDispatcher

The Scene3D class lets you create a scene where all objects are rendered in the same container.

A scene is the place where objects are placed, it contains the 3D environment.



Public Properties
 PropertyDefined by
 Inheritedanimated : Boolean = false
A boolean flag indicating whether or not to use animation.
SceneObject3D
 InheritedanimationEngine : AnimationEngine
A reference to the AnimationEngine.
SceneObject3D
 Inheritedchildren : Object
Returns the children object.
DisplayObjectContainer3D
 Inheritedmaterials : MaterialsList
It contains a list of materials in the scene.
SceneObject3D
 InheritednumChildren : int
Returns the number of children of this object.
DisplayObjectContainer3D
 Inheritedobjects : Array
It contains a list of DisplayObject3D objects in the scene.
SceneObject3D
 Inheritedroot : DisplayObjectContainer3D
[read-only] [read-only] The scene, which is the top-most displayObjectContainer3D in the tree structure.
DisplayObjectContainer3D
Protected Properties
 PropertyDefined by
 Inherited_children : Dictionary
[internal-use] Names indexed by children.
DisplayObjectContainer3D
 Inherited_childrenByName : Object
[internal-use] Children indexed by name.
DisplayObjectContainer3D
Public Methods
 MethodDefined by
  
Scene3D(animated:Boolean = false)
The Scene3D class lets you create a scene where all objects are rendered in the same container.
Scene3D
 Inherited
addChild(child:DisplayObject3D, name:String = null):DisplayObject3D
Adds a child DisplayObject3D instance to the scene.
SceneObject3D
 Inherited
Adds all the children of a DisplayObject3D instance to this DisplayObjectContainer instance.
DisplayObjectContainer3D
 Inherited
addCollada(filename:String, materials:MaterialsList = null, scale:Number = 1):void
This method has been deprecated.
DisplayObjectContainer3D
 Inherited
childrenList():String
Returns a string value with the list of objects.
DisplayObjectContainer3D
 Inherited
Returns the child display object that exists with the specified name.
DisplayObjectContainer3D
 Inherited
Removes the specified child DisplayObject3D instance from the child and object list of the scene.
SceneObject3D
 Inherited
Removes the child DisplayObject3D instance that exists with the specified name, from the child list of the DisplayObjectContainer3D instance.
DisplayObjectContainer3D
 Inherited
toString():String
Returns a string value with the list of objects.
DisplayObjectContainer3D
Constructor detail
Scene3D()constructor
public function Scene3D(animated:Boolean = false)

The Scene3D class lets you create a scene where all objects are rendered in the same container.

Parameters
animated:Boolean (default = false) — The Sprite that you draw into when rendering.