Packageorg.papervision3d.view
Classpublic class BitmapViewport3D
InheritanceBitmapViewport3D Inheritance Viewport3D Inheritance flash.display.Sprite
ImplementsIViewport3D



Public Properties
 PropertyDefined by
  autoClipping : Boolean
BitmapViewport3D
 InheritedautoCulling : Boolean
Whether culling is enabled (not rendering triangles hidden behind other triangles)
Viewport3D
 InheritedautoScaleToStage : Boolean
The auto scale to stage boolean flag
Viewport3D
  bitmapData : BitmapData
BitmapViewport3D
  _containerBitmap : Bitmap
BitmapViewport3D
 InheritedcontainerSprite : ViewportLayer
The Sprite holding the Viewport3D
Viewport3D
 InheritedcullingRectangle : Rectangle
cullingRectangle stores the width, height, x, y of the culling rectangle.
Viewport3D
  fillBeforeRender : Boolean
BitmapViewport3D
 Inheritedinteractive : Boolean
The interactive boolean flag
Viewport3D
 InheritedinteractiveSceneManager : InteractiveSceneManager
interactiveSceneManager manages the interaction between the user's mouse and the Papervision3D scene.
Viewport3D
 InheritedlastRenderList : Array
lastRenderList stores RenderableListItems (Triangles, Lines, Pixels, Particles, Fog) of everything that was rendered in the last pass.
Viewport3D
 InheritedlineCuller : ILineCuller
lineCuller uses the culling Rectangle to determine which particles will not be rendered in BasicRenderEngine
Viewport3D
 InheritedparticleCuller : IParticleCuller
particleCuller uses the cullingRectangle to determine which particles will not be rendered in BasicRenderEngine
Viewport3D
 InheritedsizeRectangle : Rectangle
sizeRectangle stores the width and the height of the Viewport3D sprite
Viewport3D
 InheritedtriangleCuller : ITriangleCuller
triangleCuller uses the cullingRectangle to determine which triangles will not be rendered in BasicRenderEngine
Viewport3D
 InheritedviewportHeight : Number
Height of the Viewport
Viewport3D
 InheritedviewportObjectFilter : ViewportObjectFilter
The ViewportObjectFilter
Viewport3D
 InheritedviewportWidth : Number
Width of the Viewport3D
Viewport3D
Protected Properties
 PropertyDefined by
  bgColor : int
BitmapViewport3D
  bitmapTransparent : Boolean
BitmapViewport3D
  _fillBeforeRender : Boolean = true
BitmapViewport3D
Public Methods
 MethodDefined by
  
BitmapViewport3D(viewportWidth:Number = 640, viewportHeight:Number = 480, autoScaleToStage:Boolean = false, bitmapTransparent:Boolean = false, bgColor:int = 0x000000, interactive:Boolean = false, autoCulling:Boolean = true)
BitmapViewport3D
 Inherited
accessLayerFor(rc:RenderableListItem, setInstance:Boolean = false):ViewportLayer
Gets the layer of the RenderListItem.
Viewport3D
 Inherited
destroy():void
Removes all references and sets the viewport's InteractiveSceneManager to null for a future garbage collection sweep
Viewport3D
 Inherited
getChildLayer(do3d:DisplayObject3D, createNew:Boolean = true, recurse:Boolean = true):ViewportLayer
Creates or receives a ViewportLayer of the given DisplayObject3D
Viewport3D
 Inherited
Checks the Mouse x and y against the RenderHitData
Viewport3D
 Inherited
Checks a Point against the RenderHitData of the viewport
Viewport3D
  
updateAfterRender(renderSessionData:RenderSessionData):void
BitmapViewport3D
 Inherited
updateBeforeRender(renderSessionData:RenderSessionData):void
Updates a ViewportLayer prior to the 3d data being rendered into the 2d scene
Viewport3D
Protected Methods
 MethodDefined by
 Inherited
onAddedToStage(event:Event):void
Triggered when added to the stage to start listening to stage resizing
Viewport3D
 Inherited
onRemovedFromStage(event:Event):void
Triggered when removed from the stage to remove the stage resizing listener
Viewport3D
  
onStageResize(event:Event = null):void
BitmapViewport3D
 Inherited
Viewport3D
Property detail
autoClippingproperty
autoClipping:Boolean  [read-write]Implementation
    public function get autoClipping():Boolean
    public function set autoClipping(value:Boolean):void
bgColorproperty 
protected var bgColor:int
bitmapDataproperty 
public var bitmapData:BitmapData
bitmapTransparentproperty 
protected var bitmapTransparent:Boolean
_containerBitmapproperty 
public var _containerBitmap:Bitmap
_fillBeforeRenderproperty 
protected var _fillBeforeRender:Boolean = true
fillBeforeRenderproperty 
fillBeforeRender:Boolean  [read-write]Implementation
    public function get fillBeforeRender():Boolean
    public function set fillBeforeRender(value:Boolean):void
Constructor detail
BitmapViewport3D()constructor
public function BitmapViewport3D(viewportWidth:Number = 640, viewportHeight:Number = 480, autoScaleToStage:Boolean = false, bitmapTransparent:Boolean = false, bgColor:int = 0x000000, interactive:Boolean = false, autoCulling:Boolean = true)Parameters
viewportWidth:Number (default = 640)
 
viewportHeight:Number (default = 480)
 
autoScaleToStage:Boolean (default = false)
 
bitmapTransparent:Boolean (default = false)
 
bgColor:int (default = 0x000000)
 
interactive:Boolean (default = false)
 
autoCulling:Boolean (default = true)
Method detail
onStageResize()method
protected override function onStageResize(event:Event = null):voidParameters
event:Event (default = null)
updateAfterRender()method 
public override function updateAfterRender(renderSessionData:RenderSessionData):voidParameters
renderSessionData:RenderSessionData