Enum NavigationConstraint

    • Enum Constant Detail

      • NONE

        public static final NavigationConstraint NONE
        Camera navigation is unconstrained. In this mode the camera may pass above and below the elevation surface.
      • STAY_ABOVE

        public static final NavigationConstraint STAY_ABOVE
        Camera navigation is constrained to remaining above the elevation surface. The altitude of the camera may not fall below the elevation of the surface. If the elevation is added or updates resulting in the camera altitude being below the surface the camera will be pushed up to be at the surface.
    • Method Detail

      • values

        public static NavigationConstraint[] 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 (NavigationConstraint c : NavigationConstraint.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NavigationConstraint valueOf​(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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null