Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# `Hydra.UI.addon`

Module of addon preferences and ModernGL installation.

## Module Contents

class Hydra.UI.addon.AddonPanel

  Addon preferences panel.

  skip_indexing: BoolProperty(name='Force thorough heightmaps', default=False, description='Fixes heightmap generation. Skips vertex indexing, which seems to exhibit odd behavior outside Windows. Uses slightly more memory during generation')

    Heightmap generation indexing override.

  split_direction: EnumProperty(default='any', items=(('any', 'Best fit', 'Splits the longer dimension, e.g. into top and bottom for a vertical window', 0), ('x', 'Horizontal', 'Splits into left and right views', 1), ('y', 'Vertical', 'Splits into top and bottom views', 2)), name='Preview split direction', description='Direction in which the window is split to view resulting outputs (e.g. to create an Image Viewer for generated images.)')

    Split direction preference.

class Hydra.UI.addon.ModernGLInstaller

  Operator for automatic installation of ModernGL. Original code by Robert Gutzkow. Taken from: https://github.com/robertguetzkow/blender-python-examples/blob/master/add_ons/install_dependencies/install_dependencies.py