in src/spg/projectSettings.py [0:0]
def __init__(self):
self._frame_rate = CategorizedAttribute(
None, UICategory.UI_CAT_OPTION_FLOAT, "The frame rate we are playing back and shooting",
ui_function_name="get_frame_rates"
)
self._sequence_start_frame = CategorizedAttribute(
0, UICategory.UI_CAT_INTEGER, "The frame number we want each sequence to start at"
)
self._image_file_format = CategorizedAttribute(
None, UICategory.UI_CAT_OPTION, "The format of the images we want to generate",
ui_function_name="get_img_file_formats"
)
self._image_file_bit_depth = CategorizedAttribute(
None, UICategory.UI_CAT_OPTION, "The imaging bit-depth of our pipeline",
ui_function_name="get_img_bit_depths"
)
self._output_folder = CategorizedAttribute(
"", UICategory.UI_CAT_EXCLUDE, "The root folder we want to output our generated images into",
)
self._frame_padding = CategorizedAttribute(
6, UICategory.UI_CAT_INTEGER, "The amount of padding required for frame numbers"
)
self._folder_suffix = CategorizedAttribute(
"", UICategory.UI_CAT_STRING, "A suffix to apply to any sequence folders created",
optional=True
)
self._folder_prefix = CategorizedAttribute(
"", UICategory.UI_CAT_STRING, "A prefix to apply to any sequence folders created",
optional=True
)
self._channel_mapping = CategorizedAttribute(
None, UICategory.UI_CAT_OPTION, "The order of the channels be it RGB, BGR etc",
ui_function_name="get_channel_mapping_options"
)
self._output_transform = CategorizedAttribute(
"", UICategory.UI_CAT_EXCLUDE, "The output transform for the image sequences",
)
self._ocio_config_path = CategorizedAttribute(
"", UICategory.UI_CAT_EXCLUDE, "The filepath to the ocio config we want to use",
)