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, waitMethods inherited from interface org.ngengine.ViewPortManager
getRootNode
-
Constructor Details
-
Jme3ViewPortManager
-
-
Method Details
-
getMainSceneViewPort
Description copied from interface:ViewPortManagerGet the main scene ViewPort.- Specified by:
getMainSceneViewPortin interfaceViewPortManager- Returns:
- the main scene ViewPort
-
getGuiViewPort
Description copied from interface:ViewPortManagerGet the GUI ViewPort.- Specified by:
getGuiViewPortin interfaceViewPortManager- Returns:
- the GUI ViewPort
-
getSceneViewPorts
Description copied from interface:ViewPortManagerGet all scene ViewPorts (read-only).- Specified by:
getSceneViewPortsin interfaceViewPortManager- Returns:
- the list of scene ViewPorts
-
createNewSceneViewPort
Description copied from interface:ViewPortManagerCreate a new scene ViewPort with the given name and camera.- Specified by:
createNewSceneViewPortin interfaceViewPortManager- Parameters:
name- the name of the ViewPortcam- the camera to use- Returns:
- the created ViewPort
-
getFilterPostProcessor
Description copied from interface:ViewPortManagerGet and create if needed a FilterPostProcessor for the given ViewPort.- Specified by:
getFilterPostProcessorin interfaceViewPortManager- Parameters:
vp- the ViewPort- Returns:
- the FilterPostProcessor
-