Packagecom.yogurt3d.core.viewports
Classpublic class Viewport
InheritanceViewport Inheritance flash.display.Sprite
Implements IEngineObject



Public Properties
 PropertyDefined By
  defaultLayer : ViewportLayer
[read-only]
Viewport
  height : Number
[override]
Viewport
  layerDepthDictionary : Dictionary
[read-only]
Viewport
  matrix : Matrix3D
[read-only]
Viewport
  systemID : String
[read-only]
Viewport
  userID : String
Viewport
  viewportLayers : Vector.<ViewportLayer>
[read-only]
Viewport
  width : Number
[override]
Viewport
  x : Number
[override] [write-only]
Viewport
  y : Number
[override] [write-only]
Viewport
Public Methods
 MethodDefined By
  
Viewport(enableMouseManager:Boolean = true)
Viewport
  
addViewportLayer(_viewPortLayer:ViewportLayer):void
Viewport
  
addViewportLayerAt(_viewPortLayer:ViewportLayer, index:int = 0):void
Viewport
  
Viewport
  
dispose():void
Viewport
  
removeViewportLayer(_viewPortLayer:ViewportLayer):void
Viewport
  
renew():void
Viewport
  
setViewport(_x:int, _y:int, _width:int, _height:int):void
Viewport
Protected Methods
 MethodDefined By
  
initInternals(_enableMouseManager:Boolean = true):void
Viewport
  
Viewport
  
Viewport
Property Detail
defaultLayerproperty
defaultLayer:ViewportLayer  [read-only]


Implementation
    public function get defaultLayer():ViewportLayer
heightproperty 
height:Number[override]


Implementation
    public function get height():Number
    public function set height(value:Number):void
layerDepthDictionaryproperty 
layerDepthDictionary:Dictionary  [read-only]


Implementation
    public function get layerDepthDictionary():Dictionary
matrixproperty 
matrix:Matrix3D  [read-only]


Implementation
    public function get matrix():Matrix3D
systemIDproperty 
systemID:String  [read-only]


Implementation
    public function get systemID():String
userIDproperty 
userID:String


Implementation
    public function get userID():String
    public function set userID(value:String):void
viewportLayersproperty 
viewportLayers:Vector.<ViewportLayer>  [read-only]


Implementation
    public function get viewportLayers():Vector.<ViewportLayer>
widthproperty 
width:Number[override]


Implementation
    public function get width():Number
    public function set width(value:Number):void
xproperty 
x:Number  [write-only] [override]


Implementation
    public function set x(value:Number):void
yproperty 
y:Number  [write-only] [override]


Implementation
    public function set y(value:Number):void
Constructor Detail
Viewport()Constructor
public function Viewport(enableMouseManager:Boolean = true)

Parameters
enableMouseManager:Boolean (default = true)
Method Detail
addViewportLayer()method
public function addViewportLayer(_viewPortLayer:ViewportLayer):void

Parameters

_viewPortLayer:ViewportLayer

addViewportLayerAt()method 
public function addViewportLayerAt(_viewPortLayer:ViewportLayer, index:int = 0):void

Parameters

_viewPortLayer:ViewportLayer
 
index:int (default = 0)

clone()method 
public function clone():IEngineObject

Returns
IEngineObject
dispose()method 
public function dispose():void

initInternals()method 
protected function initInternals(_enableMouseManager:Boolean = true):void

Parameters

_enableMouseManager:Boolean (default = true)

removeViewportLayer()method 
public function removeViewportLayer(_viewPortLayer:ViewportLayer):void

Parameters

_viewPortLayer:ViewportLayer

renew()method 
public function renew():void

setViewport()method 
public function setViewport(_x:int, _y:int, _width:int, _height:int):void

Parameters

_x:int
 
_y:int
 
_width:int
 
_height:int

trackObject()method 
protected function trackObject():void

updateLayerDepthDictionary()method 
protected function updateLayerDepthDictionary():void