| Package | org.papervision3d.scenes |
| Class | public class MovieScene3D |
| Inheritance | MovieScene3D Scene3D SceneObject3D DisplayObjectContainer3D flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
MovieScene3D(container:Sprite)
Creates a scene where each object is rendered in its own container.
| MovieScene3D | ||
|
Adds a child DisplayObject3D instance to the scene.
| MovieScene3D | ||
![]() |
Adds all the children of a DisplayObject3D instance to this DisplayObjectContainer instance.
| DisplayObjectContainer3D | |
![]() |
addCollada(filename:String, materials:MaterialsList = null, scale:Number = 1):void
This method has been deprecated.
| DisplayObjectContainer3D | |
![]() |
childrenList():String
Returns a string value with the list of objects.
| DisplayObjectContainer3D | |
![]() |
getChildByName(name:String):DisplayObject3D
Returns the child display object that exists with the specified name.
| DisplayObjectContainer3D | |
|
getSprite(child:DisplayObject3D):Sprite
| MovieScene3D | ||
![]() |
Removes the specified child DisplayObject3D instance from the child and object list of the scene.
| SceneObject3D | |
![]() |
removeChildByName(name:String):DisplayObject3D
Removes the child DisplayObject3D instance that exists with the specified name, from the child list of the DisplayObjectContainer3D instance.
| DisplayObjectContainer3D | |
![]() |
renderCamera(camera:CameraObject3D):void
Generates an image from the camera's point of view and the visible models of the scene.
| SceneObject3D | |
![]() |
toString():String
Returns a string value with the list of objects.
| DisplayObjectContainer3D | |
| Method | Defined by | ||
|---|---|---|---|
|
renderObjects(sort:Boolean):void
Generates an image from the camera's point of view and the visible models of the scene.
| MovieScene3D | ||
| MovieScene3D | () | constructor |
public function MovieScene3D(container:Sprite)Creates a scene where each object is rendered in its own container.
Parameterscontainer:Sprite — The Sprite where the new containers are created.
|
| addChild | () | method |
public override function addChild(child:DisplayObject3D, name:String = null):DisplayObject3DAdds a child DisplayObject3D instance to the scene. If you add a GeometryObject3D symbol, a new DisplayObject3D instance is created. [TODO: If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container.]
Parameterschild:DisplayObject3D — The GeometryObject3D symbol or DisplayObject3D instance to add as a child of the scene.
|
|
name:String (default = null) — An optional name of the child to add or create. If no name is provided, the child name will be used.
|
DisplayObject3D —
The DisplayObject3D instance that you have added or created.
|
| getSprite | () | method |
public function getSprite(child:DisplayObject3D):SpriteParameters
child:DisplayObject3D |
Sprite |
| renderObjects | () | method |
protected override function renderObjects(sort:Boolean):voidGenerates an image from the camera's point of view and the visible models of the scene.
Parameterssort:Boolean — camera to render from.
|