Packagecom.yogurt3d.core.managers.contextmanager
Classpublic class ContextManager
InheritanceContextManager Inheritance EngineObject Inheritance Object
Implements IContextManager



Public Properties
 PropertyDefined By
  cameras : Vector.<ICamera>
[read-only]
ContextManager
  contextCount : int
[read-only]
ContextManager
  contexts : Vector.<IContext>
[read-only]
ContextManager
  renderers : Vector.<IRenderer>
[read-only]
ContextManager
  scenes : Vector.<IScene>
[read-only]
ContextManager
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
  viewports : Vector.<Viewport>
[read-only]
ContextManager
Public Methods
 MethodDefined By
  
ContextManager(_initInternals:Boolean = true)
ContextManager
  
addContext(_value:IContext):void
ContextManager
  
addNewContext(_scene:IScene, _camera:ICamera, _viewport:Viewport, _renderer:IRenderer):String
ContextManager
 Inherited
Creates new clone object.
EngineObject
 Inherited
dispose():void
Removes all external referances and clears internals.
EngineObject
  
ContextManager
  
ContextManager
  
ContextManager
  
ContextManager
  
ContextManager
  
ContextManager
  
ContextManager
  
removeContext(_value:IContext):void
ContextManager
  
removeContextBySystemID(_value:String):void
ContextManager
  
removeContextByUserID(_value:String):void
ContextManager
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
 Inherited
toString():String
EngineObject
Protected Methods
 MethodDefined By
  
[override]
ContextManager
  
[override]
ContextManager
Property Detail
camerasproperty
cameras:Vector.<ICamera>  [read-only]


Implementation
    public function get cameras():Vector.<ICamera>
contextCountproperty 
contextCount:int  [read-only]


Implementation
    public function get contextCount():int
contextsproperty 
contexts:Vector.<IContext>  [read-only]


Implementation
    public function get contexts():Vector.<IContext>
m_camerasproperty 
YOGURT3D_INTERNAL var m_cameras:Vector.<ICamera>

m_contextBySystemIDproperty 
YOGURT3D_INTERNAL var m_contextBySystemID:Dictionary

m_contextCountproperty 
YOGURT3D_INTERNAL var m_contextCount:int

m_contextsproperty 
YOGURT3D_INTERNAL var m_contexts:Vector.<IContext>

m_counterproperty 
YOGURT3D_INTERNAL var m_counter:Dictionary

m_renderersproperty 
YOGURT3D_INTERNAL var m_renderers:Vector.<IRenderer>

m_scenesproperty 
YOGURT3D_INTERNAL var m_scenes:Vector.<IScene>

m_viewportsproperty 
YOGURT3D_INTERNAL var m_viewports:Vector.<Viewport>

renderersproperty 
renderers:Vector.<IRenderer>  [read-only]


Implementation
    public function get renderers():Vector.<IRenderer>
scenesproperty 
scenes:Vector.<IScene>  [read-only]


Implementation
    public function get scenes():Vector.<IScene>
viewportsproperty 
viewports:Vector.<Viewport>  [read-only]


Implementation
    public function get viewports():Vector.<Viewport>
Constructor Detail
ContextManager()Constructor
public function ContextManager(_initInternals:Boolean = true)



Parameters
_initInternals:Boolean (default = true)
Method Detail
addContext()method
public function addContext(_value:IContext):void

Parameters

_value:IContext

addNewContext()method 
public function addNewContext(_scene:IScene, _camera:ICamera, _viewport:Viewport, _renderer:IRenderer):String

Parameters

_scene:IScene
 
_camera:ICamera
 
_viewport:Viewport
 
_renderer:IRenderer

Returns
String
getContextBySystemID()method 
public function getContextBySystemID(_value:String):IContext

Parameters

_value:String

Returns
IContext
getContextByUserID()method 
public function getContextByUserID(_value:String):IContext

Parameters

_value:String

Returns
IContext
initInternals()method 
override protected function initInternals():void

removeAllRelatedTo()method 
public function removeAllRelatedTo(_value:IEngineObject):void

Parameters

_value:IEngineObject

removeAllRelatedToCamera()method 
public function removeAllRelatedToCamera(_value:ICamera):void

Parameters

_value:ICamera

removeAllRelatedToRenderer()method 
public function removeAllRelatedToRenderer(_value:IRenderer):void

Parameters

_value:IRenderer

removeAllRelatedToScene()method 
public function removeAllRelatedToScene(_value:IScene):void

Parameters

_value:IScene

removeAllRelatedToViewport()method 
public function removeAllRelatedToViewport(_value:Viewport):void

Parameters

_value:Viewport

removeContext()method 
public function removeContext(_value:IContext):void

Parameters

_value:IContext

removeContextBySystemID()method 
public function removeContextBySystemID(_value:String):void

Parameters

_value:String

removeContextByUserID()method 
public function removeContextByUserID(_value:String):void

Parameters

_value:String

trackObject()method 
override protected function trackObject():void