22 SpatialNoiseShader___doc__,
23 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SpatialNoiseShader`\n"
27 ".. method:: __init__(amount, scale, num_octaves, smooth, pure_random)\n"
29 " Builds a SpatialNoiseShader object.\n"
31 " :arg amount: The amplitude of the noise.\n"
32 " :type amount: float\n"
33 " :arg scale: The noise frequency.\n"
34 " :type scale: float\n"
35 " :arg num_octaves: The number of octaves\n"
36 " :type num_octaves: int\n"
37 " :arg smooth: True if you want the noise to be smooth.\n"
38 " :type smooth: bool\n"
39 " :arg pure_random: True if you don't want any coherence.\n"
40 " :type pure_random: bool\n"
42 ".. method:: shade(stroke)\n"
44 " Spatial Noise stroke shader. Moves the vertices to make the stroke\n"
47 " :arg stroke: A Stroke object.\n"
48 " :type stroke: :class:`freestyle.types.Stroke`\n");
54 static const char *kwlist[] = {
55 "amount",
"scale",
"num_octaves",
"smooth",
"pure_random",
nullptr};
58 PyObject *obj4 =
nullptr, *obj5 =
nullptr;
60 if (!PyArg_ParseTupleAndKeywords(args,
82 PyVarObject_HEAD_INIT(
nullptr, 0)
101 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
102 SpatialNoiseShader___doc__,
bool bool_from_PyBool(PyObject *b)
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 SpatialNoiseShader_Type
static int SpatialNoiseShader___init__(BPy_SpatialNoiseShader *self, PyObject *args, PyObject *kwds)
PyTypeObject StrokeShader_Type
SpatialNoiseShader(float iAmount, float ixScale, int nbOctave, bool smooth, bool pureRandom)
PyObject_HEAD Freestyle::StrokeShader * ss