Enum Renderer.SceneProperties.ExtrusionMode

    • Enum Constant Detail

      • ABSOLUTE_HEIGHT

        public static final Renderer.SceneProperties.ExtrusionMode ABSOLUTE_HEIGHT
        The feature is extruded to the specified z value as a flat top, regardless of the z values of the feature.
        Since:
        100.0.0
      • BASE_HEIGHT

        public static final Renderer.SceneProperties.ExtrusionMode BASE_HEIGHT
        A z value is calculated for each vertex of the feature's base, and the feature is extruded to the various z values. This is the only extrusion mode that doesn't have a flat top.
        Since:
        100.0.0
      • MAXIMUM

        public static final Renderer.SceneProperties.ExtrusionMode MAXIMUM
        A z value is calculated by adding the extrusion height to the maximum z value of the feature, and the feature is extruded to a flat top at that value.
        Since:
        100.0.0
      • MINIMUM

        public static final Renderer.SceneProperties.ExtrusionMode MINIMUM
        A z value is calculated by adding the extrusion height to the minimum z value of the feature, and the feature is extruded to a flat top at that value.
        Since:
        100.0.0
    • Method Detail

      • values

        public static Renderer.SceneProperties.ExtrusionMode[] 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 (Renderer.SceneProperties.ExtrusionMode c : Renderer.SceneProperties.ExtrusionMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Renderer.SceneProperties.ExtrusionMode 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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null