| Package | org.papervision3d.core.utils |
| Class | public class InteractiveSceneManager |
| Inheritance | InteractiveSceneManager flash.events.EventDispatcher |
| Property | Defined 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 | ||
| currentMousePos : Point | InteractiveSceneManager | ||
| debug : Boolean = false | InteractiveSceneManager | ||
| enableOverOut : Boolean = true | InteractiveSceneManager | ||
| lastMousePos : Point | 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 | ||
| _viewportRendered : Boolean = false | InteractiveSceneManager | ||
| virtualMouse : VirtualMouse
VirtualMouse is used with faceLevelMode of ISM or DO3D's.
| InteractiveSceneManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
InteractiveSceneManager(viewport:Viewport3D)
| InteractiveSceneManager | ||
|
destroy():void
| InteractiveSceneManager | ||
|
init():void
| InteractiveSceneManager | ||
|
initListeners():void
| InteractiveSceneManager | ||
|
updateAfterRender():void
| InteractiveSceneManager | ||
|
updateRenderHitData():void
| InteractiveSceneManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
handleEnterFrame(e:Event):void
This handles the MOUSE_MOVE event on an InteractiveSprite container
and replaces handleMouseMove.
| InteractiveSceneManager | ||
|
handleMouseClick(e:MouseEvent):void
Handles the MOUSE_CLICK event on an InteractiveSprite container
| InteractiveSceneManager | ||
|
handleMouseDoubleClick(e:MouseEvent):void
Handles the MOUSE_CLICK event on an InteractiveSprite container
| InteractiveSceneManager | ||
|
handleMouseOut(DO3D:DisplayObject3D):void
Handles the MOUSE_OUT event on an InteractiveSprite container
| InteractiveSceneManager | ||
|
handleMouseOver(DO3D:DisplayObject3D):void
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 | ||
|
initVirtualMouse():void
| InteractiveSceneManager | ||
|
manageOverOut():void
| InteractiveSceneManager | ||
|
resolveRenderHitData():void
| InteractiveSceneManager | ||
| container | property |
public var container:SpriteMain container for ISM to create the sub InteractiveSprite containers for the faces and DO3D objects passed in during the render loop
| currentDisplayObject3D | property |
public var currentDisplayObject3D:DisplayObject3D
| currentMaterial | property |
public var currentMaterial:MaterialObject3D
| currentMouseDO3D | property |
public var currentMouseDO3D:DisplayObject3D = null
| currentMousePos | property |
public var currentMousePos:Point
| debug | property |
public var debug:Boolean = false
| enableOverOut | property |
public var enableOverOut:Boolean = true
| lastMousePos | property |
public var lastMousePos:Point
| mouse3D | property |
public var mouse3D:Mouse3D
| MOUSE_IS_DOWN | property |
public static var MOUSE_IS_DOWN:Boolean = falseMOUSE_IS_DOWN is a quick static property to check and is maintained by the ISM
| renderHitData | property |
public var renderHitData:RenderHitData
| viewport | property |
public var viewport:Viewport3D
| _viewportRendered | property |
public var _viewportRendered:Boolean = false
| virtualMouse | property |
public var virtualMouse:VirtualMouseVirtualMouse 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!
| InteractiveSceneManager | () | constructor |
| destroy | () | method |
public function destroy():void
| handleEnterFrame | () | method |
protected function handleEnterFrame(e:Event):voidThis handles the MOUSE_MOVE event on an InteractiveSprite container and replaces handleMouseMove. By using ENTER_FRAME and manually checking for mouse movement we should save CPU.
Parameterse:Event |
| handleMouseClick | () | method |
protected function handleMouseClick(e:MouseEvent):voidHandles the MOUSE_CLICK event on an InteractiveSprite container
Parameterse:MouseEvent |
| handleMouseDoubleClick | () | method |
protected function handleMouseDoubleClick(e:MouseEvent):voidHandles the MOUSE_CLICK event on an InteractiveSprite container
Parameterse:MouseEvent |
| handleMouseOut | () | method |
protected function handleMouseOut(DO3D:DisplayObject3D):voidHandles the MOUSE_OUT event on an InteractiveSprite container
ParametersDO3D:DisplayObject3D |
| handleMouseOver | () | method |
protected function handleMouseOver(DO3D:DisplayObject3D):voidHandles the MOUSE_OVER event on an InteractiveSprite container
ParametersDO3D:DisplayObject3D |
| handleMousePress | () | method |
protected function handleMousePress(e:MouseEvent):voidHandles the MOUSE_DOWN event on an InteractiveSprite container
Parameterse:MouseEvent |
| handleMouseRelease | () | method |
protected function handleMouseRelease(e:MouseEvent):voidHandles the MOUSE_UP event on an InteractiveSprite container
Parameterse: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
| updateAfterRender | () | method |
public function updateAfterRender():void
| updateRenderHitData | () | method |
public function updateRenderHitData():void