21 ColorNoiseShader___doc__,
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)
76 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
77 ColorNoiseShader___doc__,
static int ColorNoiseShader___init__(BPy_ColorNoiseShader *self, PyObject *args, PyObject *kwds)
PyTypeObject ColorNoiseShader_Type
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :arg inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :arg inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.
PyObject_HEAD Freestyle::StrokeShader * ss