Defines the base Effect class for applying transformations or effects to pixel groups.
float ratio
A scaling ratio used for dynamic effect adjustments.
void SetRatio(float ratio)
Sets the scaling ratio for the effect.
Effect()
Default constructor for the Effect class.
static T Constrain(T value, T minimum, T maximum)
Constrains a value between minimum and maximum.