namespace Artemis.Core
{
///
/// Represents a property group on a layer
///
/// Note: You cannot initialize property groups yourself. If properly placed and annotated, the Artemis core will
/// initialize these for you.
///
///
public abstract class LayerEffectPropertyGroup : LayerPropertyGroup
{
///
/// Whether or not this layer effect is enabled
///
[PropertyDescription(Name = "Enabled", Description = "Whether or not this layer effect is enabled")]
public BoolLayerProperty IsEnabled { get; set; } = null!;
internal void InitializeIsEnabled()
{
IsEnabled.DefaultValue = true;
if (!IsEnabled.IsLoadedFromStorage)
IsEnabled.SetCurrentValue(true);
}
}
}