Package org.ngengine.components.jme3
Class Jme3ViewPortManager
java.lang.Object
org.ngengine.components.jme3.Jme3ViewPortManager
- All Implemented Interfaces:
ViewPortManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewSceneViewPort
(String name, Camera cam) Create a new scene ViewPort with the given name and camera.Get and create if needed a FilterPostProcessor for the given ViewPort.Get the GUI ViewPort.Get the main scene ViewPort.Get all scene ViewPorts (read-only).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ngengine.ViewPortManager
getRootNode
-
Constructor Details
-
Jme3ViewPortManager
-
-
Method Details
-
getMainSceneViewPort
Description copied from interface:ViewPortManager
Get the main scene ViewPort.- Specified by:
getMainSceneViewPort
in interfaceViewPortManager
- Returns:
- the main scene ViewPort
-
getGuiViewPort
Description copied from interface:ViewPortManager
Get the GUI ViewPort.- Specified by:
getGuiViewPort
in interfaceViewPortManager
- Returns:
- the GUI ViewPort
-
getSceneViewPorts
Description copied from interface:ViewPortManager
Get all scene ViewPorts (read-only).- Specified by:
getSceneViewPorts
in interfaceViewPortManager
- Returns:
- the list of scene ViewPorts
-
createNewSceneViewPort
Description copied from interface:ViewPortManager
Create a new scene ViewPort with the given name and camera.- Specified by:
createNewSceneViewPort
in interfaceViewPortManager
- Parameters:
name
- the name of the ViewPortcam
- the camera to use- Returns:
- the created ViewPort
-
getFilterPostProcessor
Description copied from interface:ViewPortManager
Get and create if needed a FilterPostProcessor for the given ViewPort.- Specified by:
getFilterPostProcessor
in interfaceViewPortManager
- Parameters:
vp
- the ViewPort- Returns:
- the FilterPostProcessor
-