Package com.jme3.input.vr.oculus
Class OculusViewManager
java.lang.Object
com.jme3.input.vr.AbstractVRViewManager
com.jme3.input.vr.oculus.OculusViewManager
- All Implemented Interfaces:
VRViewManager
A rendering system for Oculus's LibOVR API.
-
Field Summary
Fields inherited from class com.jme3.input.vr.AbstractVRViewManager
leftCamera, leftEyeDepth, leftEyeTexture, leftPostProcessor, leftViewPort, mirrorViewPort, rightCamera, rightEyeDepth, rightEyeTexture, rightPostProcessor, rightViewPortFields inherited from interface com.jme3.input.vr.VRViewManager
LEFT_VIEW_NAME, RIGHT_VIEW_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jme3.input.vr.AbstractVRViewManager
getHeightAdjustment, getLeftCamera, getLeftDepth, getLeftPostProcessor, getLeftTexture, getLeftViewPort, getMirrorViewPort, getResolutionMuliplier, getRightCamera, getRightDepth, getRightPostProcessor, getRightTexture, getRightViewPort, getVREnvironment, moveScreenProcessingToEyes, setHeightAdjustment, setResolutionMultiplier, syncScreenProcessing
-
Constructor Details
-
OculusViewManager
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:VRViewManagerInitialize the VR view manager. This method should be called after the attachment of aVR environmentto an application. -
update
public void update(float tpf) Description copied from interface:VRViewManagerUpdate the VR view manager. This method is called by the attachedapp stateand should not be called manually.- Parameters:
tpf- the time per frame.
-
render
public void render()Description copied from interface:VRViewManagerThis method contains action to be done during the rendering phase. This method should be called for example from therendermethod of anapp state.- See Also:
-
postRender
public void postRender()Description copied from interface:VRViewManagerSend the rendering result as textures to the two eyes. This method should be called after all the rendering operations (for example at the end of thepostRender()method of the attached app state.)- See Also:
-