synergynetframework.jme.sysutils
Enum StereoRenderPass.ProjectionMode

java.lang.Object
  extended by java.lang.Enum<StereoRenderPass.ProjectionMode>
      extended by synergynetframework.jme.sysutils.StereoRenderPass.ProjectionMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StereoRenderPass.ProjectionMode>
Enclosing class:
StereoRenderPass

public static enum StereoRenderPass.ProjectionMode
extends java.lang.Enum<StereoRenderPass.ProjectionMode>

The type of projection to use to create a stereo rendering.


Enum Constant Summary
ASYMMETRIC_FRUSTUM
          Assymetric frustum is a more advanced stereo projection stereoMode that takes focus into account.
SIMPLE_OFFSET
          Simple offset moves the camera a bit to the left and a bit to the right to create the stereo effect.
 
Method Summary
static StereoRenderPass.ProjectionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StereoRenderPass.ProjectionMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ASYMMETRIC_FRUSTUM

public static final StereoRenderPass.ProjectionMode ASYMMETRIC_FRUSTUM
Assymetric frustum is a more advanced stereo projection stereoMode that takes focus into account. It is a more accurate representation of how two eyes would percieve the environment with a focus plane. Unfortunately it can also cause more strain to the eye since it must adjust to the effects of simulating focus.


SIMPLE_OFFSET

public static final StereoRenderPass.ProjectionMode SIMPLE_OFFSET
Simple offset moves the camera a bit to the left and a bit to the right to create the stereo effect. It's equivelant to putting two cameras parallel to each over side by side.

Method Detail

values

public static StereoRenderPass.ProjectionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StereoRenderPass.ProjectionMode c : StereoRenderPass.ProjectionMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StereoRenderPass.ProjectionMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null