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



Public Properties
 PropertyDefined By
  context3d : Context3D
Viewport
  height : Number
[override]
Viewport
  matrix : Matrix3D
[read-only]
Viewport
  pickingEnabled : Boolean
Viewport
  systemID : String
[read-only]
Viewport
  userID : String
Viewport
  visible : Boolean
[override] [write-only]
Viewport
  width : Number
[override]
Viewport
  x : Number
[override] [write-only]
Viewport
  y : Number
[override] [write-only]
Viewport
Public Methods
 MethodDefined By
  
Viewport(enablePicking:Boolean = false)
Viewport
  
Viewport
  
dispose():void
Viewport
  
Not Implemented
Viewport
  
renew():void
Viewport
  
setBackBuffer(_width:uint, _height:uint):void
Viewport
  
setViewport(_x:int, _y:int, _width:int, _height:int):void
Viewport
  
toString():String
[override]
Viewport
  
update(_scene:IScene, _camera:ICamera):void
Viewport
Protected Methods
 MethodDefined By
  
initInternals(_enableMouseManager:Boolean = false):void
Viewport
  
Viewport
Property Detail
context3dproperty
context3d:Context3D


Implementation
    public function get context3d():Context3D
    public function set context3d(value:Context3D):void
heightproperty 
height:Number[override]


Implementation
    public function get height():Number
    public function set height(value:Number):void
matrixproperty 
matrix:Matrix3D  [read-only]


Implementation
    public function get matrix():Matrix3D
pickingEnabledproperty 
pickingEnabled:Boolean


Implementation
    public function get pickingEnabled():Boolean
    public function set pickingEnabled(value:Boolean):void
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
visibleproperty 
visible:Boolean  [write-only] [override]


Implementation
    public function set visible(value:Boolean):void
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(enablePicking:Boolean = false)

Parameters
enablePicking:Boolean (default = false)
Method Detail
clone()method
public function clone():IEngineObject

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

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

Parameters

_enableMouseManager:Boolean (default = false)

instance()method 
public function instance():*

Not Implemented

Returns
*
renew()method 
public function renew():void

setBackBuffer()method 
public function setBackBuffer(_width:uint, _height:uint):void

Parameters

_width:uint
 
_height:uint

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

Parameters

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

toString()method 
override public function toString():String

Returns
String
trackObject()method 
protected function trackObject():void

update()method 
public function update(_scene:IScene, _camera:ICamera):void

Parameters

_scene:IScene
 
_camera:ICamera