Blender V4.3
BPy_SpatialNoiseShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (SpatialNoiseShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SpatialNoiseShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(amount, scale, num_octaves, smooth, pure_random)\n" "\n" " Builds a SpatialNoiseShader object.\n" "\n" " :arg amount: The amplitude of the noise.\n" " :type amount: float\n" " :arg scale: The noise frequency.\n" " :type scale: float\n" " :arg num_octaves: The number of octaves\n" " :type num_octaves: int\n" " :arg smooth: True if you want the noise to be smooth.\n" " :type smooth: bool\n" " :arg pure_random: True if you don't want any coherence.\n" " :type pure_random: bool\n" "\n" ".. method:: shade(stroke)\n" "\n" " Spatial Noise stroke shader. Moves the vertices to make the stroke\n" " more noisy.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int SpatialNoiseShader___init__ (BPy_SpatialNoiseShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject SpatialNoiseShader_Type
 

Function Documentation

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( SpatialNoiseShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`SpatialNoiseShader`\n" "\n" "\n" "\n" ".. method::__init__(amount, scale, num_octaves, smooth, pure_random)\n" "\n" " Builds a SpatialNoiseShader object.\n" "\n" " :arg amount:The amplitude of the noise.\n" " :type amount:float\n" " :arg scale:The noise frequency.\n" " :type scale:float\n" " :arg num_octaves:The number of octaves\n" " :type num_octaves:int\n" " :arg smooth:True if you want the noise to be smooth.\n" " :type smooth:bool\n" " :arg pure_random:True if you don 't want any coherence.\n" " :type pure_random:bool\n" "\n" ".. method::shade(stroke)\n" "\n" " Spatial Noise stroke shader. Moves the vertices to make the stroke\n" " more noisy.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" [Geometry shader] )

◆ SpatialNoiseShader___init__()

static int SpatialNoiseShader___init__ ( BPy_SpatialNoiseShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 54 of file BPy_SpatialNoiseShader.cpp.

References bool_from_PyBool(), and self.

Variable Documentation

◆ SpatialNoiseShader_Type

PyTypeObject SpatialNoiseShader_Type

Definition at line 85 of file BPy_SpatialNoiseShader.cpp.

Referenced by StrokeShader_Init().