| Package | org.papervision3d.view |
| Class | public class BitmapViewport3D |
| Inheritance | BitmapViewport3D Viewport3D flash.display.Sprite |
| Implements | IViewport3D |
| Property | Defined by | ||
|---|---|---|---|
| autoClipping : Boolean | BitmapViewport3D | ||
![]() | autoCulling : Boolean
Whether culling is enabled (not rendering triangles hidden behind other triangles)
| Viewport3D | |
![]() | autoScaleToStage : Boolean
The auto scale to stage boolean flag
| Viewport3D | |
| bitmapData : BitmapData | BitmapViewport3D | ||
| _containerBitmap : Bitmap | BitmapViewport3D | ||
![]() | containerSprite : ViewportLayer
The
Sprite holding the Viewport3D
| Viewport3D | |
![]() | cullingRectangle : Rectangle
cullingRectangle stores the width, height, x, y of the culling rectangle.
| Viewport3D | |
| fillBeforeRender : Boolean | BitmapViewport3D | ||
![]() | interactive : Boolean
The interactive boolean flag
| Viewport3D | |
![]() | interactiveSceneManager : InteractiveSceneManager
interactiveSceneManager manages the interaction between the user's mouse and the Papervision3D scene.
| Viewport3D | |
![]() | lastRenderList : Array
lastRenderList stores RenderableListItems (Triangles, Lines, Pixels, Particles, Fog) of everything that was rendered in the last pass.
| Viewport3D | |
![]() | lineCuller : ILineCuller
lineCuller uses the culling Rectangle to determine which particles will not be rendered in BasicRenderEngine
| Viewport3D | |
![]() | particleCuller : IParticleCuller
particleCuller uses the cullingRectangle to determine which particles will not be rendered in BasicRenderEngine
| Viewport3D | |
![]() | sizeRectangle : Rectangle
sizeRectangle stores the width and the height of the Viewport3D sprite
| Viewport3D | |
![]() | triangleCuller : ITriangleCuller
triangleCuller uses the cullingRectangle to determine which triangles will not be rendered in BasicRenderEngine
| Viewport3D | |
![]() | viewportHeight : Number
Height of the Viewport
| Viewport3D | |
![]() | viewportObjectFilter : ViewportObjectFilter
The
ViewportObjectFilter
| Viewport3D | |
![]() | viewportWidth : Number
Width of the
Viewport3D
| Viewport3D | |
| Property | Defined by | ||
|---|---|---|---|
| bgColor : int | BitmapViewport3D | ||
| bitmapTransparent : Boolean | BitmapViewport3D | ||
| _fillBeforeRender : Boolean = true | BitmapViewport3D | ||
| Method | Defined by | ||
|---|---|---|---|
|
BitmapViewport3D(viewportWidth:Number = 640, viewportHeight:Number = 480, autoScaleToStage:Boolean = false, bitmapTransparent:Boolean = false, bgColor:int = 0x000000, interactive:Boolean = false, autoCulling:Boolean = true)
| BitmapViewport3D | ||
![]() |
Gets the layer of the RenderListItem.
| Viewport3D | |
![]() |
destroy():void
Removes all references and sets the viewport's
InteractiveSceneManager to null for a future
garbage collection sweep
| Viewport3D | |
![]() |
Creates or receives a
ViewportLayer of the given DisplayObject3D
| Viewport3D | |
![]() |
Checks the Mouse x and y against the
RenderHitData
| Viewport3D | |
![]() |
hitTestPoint2D(point:Point):RenderHitData
Checks a
Point against the RenderHitData
of the viewport
| Viewport3D | |
![]() | Viewport3D | ||
|
updateAfterRender(renderSessionData:RenderSessionData):void
| BitmapViewport3D | ||
![]() |
updateBeforeRender(renderSessionData:RenderSessionData):void
Updates a
ViewportLayer prior to the 3d data being rendered into the 2d scene
| Viewport3D | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
onAddedToStage(event:Event):void
Triggered when added to the stage to start listening to stage resizing
| Viewport3D | |
![]() |
onRemovedFromStage(event:Event):void
Triggered when removed from the stage to remove the stage resizing listener
| Viewport3D | |
|
onStageResize(event:Event = null):void
| BitmapViewport3D | ||
![]() |
setStageScaleMode():void
| Viewport3D | |
| autoClipping | property |
autoClipping:Boolean [read-write]Implementation
public function get autoClipping():Boolean
public function set autoClipping(value:Boolean):void
| bgColor | property |
protected var bgColor:int
| bitmapData | property |
public var bitmapData:BitmapData
| bitmapTransparent | property |
protected var bitmapTransparent:Boolean
| _containerBitmap | property |
public var _containerBitmap:Bitmap
| _fillBeforeRender | property |
protected var _fillBeforeRender:Boolean = true
| fillBeforeRender | property |
fillBeforeRender:Boolean [read-write]Implementation
public function get fillBeforeRender():Boolean
public function set fillBeforeRender(value:Boolean):void
| 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) |
| 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 |