angle(Angle::zero()),
symmetric(false)
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool
ret.push_back(ParamDesc("gradient")
.set_local_name(_("Gradient"))
+ .set_description(_("Gradient to apply"))
);
ret.push_back(ParamDesc("center")
.set_local_name(_("Center"))
+ .set_description(_("Center of the cone"))
);
ret.push_back(ParamDesc("angle")
.set_local_name(_("Angle"))
.set_origin("center")
+ .set_description(_("Rotation of the gradient around the center"))
);
ret.push_back(ParamDesc("symmetric")
.set_local_name(_("Symmetric"))
+ .set_description(_("When checked the gradient is looped"))
);
return ret;