def __init__()

in src/spg_icvfxpatterns/PatternGenerators/colorPatch.py [0:0]


    def __init__(cls, *args, **kwargs):
        super().__init__(cls)
        cls._pattern_type = CategorizedAttribute(
            "ColorPatch", UICategory.UI_CAT_STRING, "The type of the pattern generator",
            readOnly=True
        )

        cls._percentage_width = CategorizedAttribute(
            0.5, UICategory.UI_CAT_FLOAT, "Patch width as % of wall width"
        )

        cls._percentage_height = CategorizedAttribute(
            0.5, UICategory.UI_CAT_FLOAT, "Patch height as % of wall width"
        )

        cls._absolute_pixel_width = CategorizedAttribute(
            0, UICategory.UI_CAT_INTEGER, "Patch width in pixels"
        )

        cls._absolute_pixel_height = CategorizedAttribute(
            0, UICategory.UI_CAT_INTEGER, "Patch height in pixels"
        )

        cls._color_range_min = CategorizedAttribute(
            0, UICategory.UI_CAT_INTEGER, "The min range of the colors"
        )

        cls._color_range_max = CategorizedAttribute(
            1, UICategory.UI_CAT_INTEGER, "The max range of the colors"
        )

        cls._duration_per_patch = CategorizedAttribute(
            2, UICategory.UI_CAT_INTEGER, "Duration of each patch (secs)"
        )

        cls._color_patch_values = CategorizedAttribute(
            [[1, 0, 0]], UICategory.UI_CAT_COLOR, "Color of patch", multi=True
        )