public class OculusViewManager extends AbstractVRViewManager
leftCamera, leftEyeDepth, leftEyeTexture, leftPostProcessor, leftViewPort, mirrorViewPort, rightCamera, rightEyeDepth, rightEyeTexture, rightPostProcessor, rightViewPort
LEFT_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, syncScreenProcessing
public OculusViewManager(VREnvironment environment)
public void initialize()
VRViewManager
VR environment
to an application.public void update(float tpf)
VRViewManager
app state
and should not be called manually.tpf
- the time per frame.public void render()
VRViewManager
render
method of an app state
.VRViewManager.postRender()
public void postRender()
VRViewManager
postRender()
method of the attached app state.)VRViewManager.render()