9 #include "../../stroke/BasicStrokeShaders.h"
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ColorNoiseShader`\n"
26 ".. method:: __init__(amplitude, period)\n"
28 " Builds a ColorNoiseShader object.\n"
30 " :arg amplitude: The amplitude of the noise signal.\n"
31 " :type amplitude: float\n"
32 " :arg period: The period of the noise signal.\n"
33 " :type period: float\n"
35 ".. method:: shade(stroke)\n"
37 " Shader to add noise to the stroke colors.\n"
39 " :arg stroke: A Stroke object.\n"
40 " :type stroke: :class:`freestyle.types.Stroke`\n";
44 static const char *kwlist[] = {
"amplitude",
"period",
nullptr};
47 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
57 PyVarObject_HEAD_INIT(
nullptr, 0)
"ColorNoiseShader",
75 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
static int ColorNoiseShader___init__(BPy_ColorNoiseShader *self, PyObject *args, PyObject *kwds)
static char ColorNoiseShader___doc__[]
PyTypeObject ColorNoiseShader_Type
PyTypeObject StrokeShader_Type