public class OculusViewManager extends AbstractVRViewManager
leftCamera, leftEyeDepth, leftEyeTexture, leftPostProcessor, leftViewPort, mirrorViewPort, rightCamera, rightEyeDepth, rightEyeTexture, rightPostProcessor, rightViewPortLEFT_VIEW_NAME, RIGHT_VIEW_NAME| Constructor and Description |
|---|
OculusViewManager(VREnvironment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initialize the VR view manager.
|
void |
postRender()
Send the rendering result as textures to the two eyes.
|
void |
render()
This method contains action to be done during the rendering phase.
|
void |
update(float tpf)
Update the VR view manager.
|
getHeightAdjustment, getLeftCamera, getLeftDepth, getLeftPostProcessor, getLeftTexture, getLeftViewPort, getMirrorViewPort, getResolutionMuliplier, getRightCamera, getRightDepth, getRightPostProcessor, getRightTexture, getRightViewPort, getVREnvironment, moveScreenProcessingToEyes, setHeightAdjustment, setResolutionMultiplier, syncScreenProcessingpublic OculusViewManager(VREnvironment environment)
public void initialize()
VRViewManagerVR environment to an application.public void update(float tpf)
VRViewManagerapp state and should not be called manually.tpf - the time per frame.public void render()
VRViewManagerrender method of an app state.VRViewManager.postRender()public void postRender()
VRViewManagerpostRender() method of the attached app state.)VRViewManager.render()