Class EyeParameter


  • public final class EyeParameter
    extends Object
    Constant single eye parameter of the viewer, relative to its ViewerPose.
    • Field Detail

      • number

        public final int number
        Eye number, 0 for the left eye and 1 for the right eye.
      • positionOffset

        public final float[] positionOffset
        float[3] eye position vector used to define eye height in meter relative to actor.
      • distNoseToPupilX

        public final float distNoseToPupilX
        IPD related horizontal distance from nose to pupil in meter.
      • distMiddleToPupilY

        public final float distMiddleToPupilY
        Vertical distance from middle-line to pupil in meter.
      • eyeReliefZ

        public final float eyeReliefZ
        Z-axis eye relief in meter.
    • Constructor Detail

      • EyeParameter

        public EyeParameter​(int number,
                            float[] positionOffset,
                            FovHVHalves fovhv,
                            float distNoseToPupil,
                            float verticalDelta,
                            float eyeRelief)