Packageorg.papervision3d.core.utils
Classpublic class InteractiveSceneManager
InheritanceInteractiveSceneManager Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined by
  container : Sprite
Main container for ISM to create the sub InteractiveSprite containers for the faces and DO3D objects passed in during the render loop
InteractiveSceneManager
  currentDisplayObject3D : DisplayObject3D
InteractiveSceneManager
  currentMaterial : MaterialObject3D
InteractiveSceneManager
  currentMouseDO3D : DisplayObject3D = null
InteractiveSceneManager
  debug : Boolean = false
InteractiveSceneManager
  enableOverOut : Boolean = true
InteractiveSceneManager
  mouse3D : Mouse3D
InteractiveSceneManager
  MOUSE_IS_DOWN : Boolean = false
[static] MOUSE_IS_DOWN is a quick static property to check and is maintained by the ISM
InteractiveSceneManager
  renderHitData : RenderHitData
InteractiveSceneManager
  viewport : Viewport3D
InteractiveSceneManager
  virtualMouse : VirtualMouse
VirtualMouse is used with faceLevelMode of ISM or DO3D's.
InteractiveSceneManager
Public Methods
 MethodDefined by
  
InteractiveSceneManager
  
init():void
InteractiveSceneManager
  
InteractiveSceneManager
  
InteractiveSceneManager
Protected Methods
 MethodDefined by
  
handleMouseClick(e:MouseEvent):void
Handles the MOUSE_CLICK event on an InteractiveSprite container
InteractiveSceneManager
  
handleMouseMove(e:MouseEvent):void
Handles the MOUSE_MOVE event on an InteractiveSprite container
InteractiveSceneManager
  
Handles the MOUSE_OUT event on an InteractiveSprite container
InteractiveSceneManager
  
Handles the MOUSE_OVER event on an InteractiveSprite container
InteractiveSceneManager
  
handleMousePress(e:MouseEvent):void
Handles the MOUSE_DOWN event on an InteractiveSprite container
InteractiveSceneManager
  
handleMouseRelease(e:MouseEvent):void
Handles the MOUSE_UP event on an InteractiveSprite container
InteractiveSceneManager
  
InteractiveSceneManager
  
InteractiveSceneManager
  
InteractiveSceneManager
Property detail
containerproperty
public var container:Sprite

Main container for ISM to create the sub InteractiveSprite containers for the faces and DO3D objects passed in during the render loop

currentDisplayObject3Dproperty 
public var currentDisplayObject3D:DisplayObject3D
currentMaterialproperty 
public var currentMaterial:MaterialObject3D
currentMouseDO3Dproperty 
public var currentMouseDO3D:DisplayObject3D = null
debugproperty 
public var debug:Boolean = false
enableOverOutproperty 
public var enableOverOut:Boolean = true
mouse3Dproperty 
public var mouse3D:Mouse3D
MOUSE_IS_DOWNproperty 
public static var MOUSE_IS_DOWN:Boolean = false

MOUSE_IS_DOWN is a quick static property to check and is maintained by the ISM

renderHitDataproperty 
public var renderHitData:RenderHitData
viewportproperty 
public var viewport:Viewport3D
virtualMouseproperty 
public var virtualMouse:VirtualMouse

VirtualMouse is used with faceLevelMode of ISM or DO3D's. Its a virtual mouse that causes the objects in your materials movieclip containers to fire off their mouse events such as click, over, out, release, press etc

Using these events requires you only to do what you normally do - establish listeners with your objects like you normally would, and you'll receive them!

Constructor detail
InteractiveSceneManager()constructor
public function InteractiveSceneManager(viewport:Viewport3D)Parameters
viewport:Viewport3D
Method detail
handleMouseClick()method
protected function handleMouseClick(e:MouseEvent):void

Handles the MOUSE_CLICK event on an InteractiveSprite container

Parameters
e:MouseEvent
handleMouseMove()method 
protected function handleMouseMove(e:MouseEvent):void

Handles the MOUSE_MOVE event on an InteractiveSprite container

Parameters
e:MouseEvent
handleMouseOut()method 
protected function handleMouseOut(DO3D:DisplayObject3D):void

Handles the MOUSE_OUT event on an InteractiveSprite container

Parameters
DO3D:DisplayObject3D
handleMouseOver()method 
protected function handleMouseOver(DO3D:DisplayObject3D):void

Handles the MOUSE_OVER event on an InteractiveSprite container

Parameters
DO3D:DisplayObject3D
handleMousePress()method 
protected function handleMousePress(e:MouseEvent):void

Handles the MOUSE_DOWN event on an InteractiveSprite container

Parameters
e:MouseEvent
handleMouseRelease()method 
protected function handleMouseRelease(e:MouseEvent):void

Handles the MOUSE_UP event on an InteractiveSprite container

Parameters
e:MouseEvent
init()method 
public function init():void
initListeners()method 
public function initListeners():void
initVirtualMouse()method 
protected function initVirtualMouse():void
manageOverOut()method 
protected function manageOverOut():void
resolveRenderHitData()method 
protected function resolveRenderHitData():void
updateRenderHitData()method 
public function updateRenderHitData():void