25 ColorNoiseShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ColorNoiseShader`\n"
30 ".. method:: __init__(amplitude, period)\n"
32 " Builds a ColorNoiseShader object.\n"
34 " :arg amplitude: The amplitude of the noise signal.\n"
35 " :type amplitude: float\n"
36 " :arg period: The period of the noise signal.\n"
37 " :type period: float\n"
39 ".. method:: shade(stroke)\n"
41 " Shader to add noise to the stroke colors.\n"
43 " :arg stroke: A Stroke object.\n"
44 " :type stroke: :class:`freestyle.types.Stroke`\n");
48 static const char *kwlist[] = {
"amplitude",
"period",
nullptr};
51 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
61 PyVarObject_HEAD_INIT(
nullptr, 0)
80 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
81 ColorNoiseShader___doc__,
static int ColorNoiseShader___init__(BPy_ColorNoiseShader *self, PyObject *args, PyObject *kwds)
PyTypeObject ColorNoiseShader_Type
PyDoc_STRVAR(ColorNoiseShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ColorNoiseShader`\n" "\n" "[Color shader]\n" "\n" ".. method:: __init__(amplitude, period)\n" "\n" " Builds a ColorNoiseShader object.\n" "\n" " :arg amplitude: The amplitude of the noise signal.\n" " :type amplitude: float\n" " :arg period: The period of the noise signal.\n" " :type period: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Shader to add noise to the stroke colors.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.