Blender  V3.3
Functions | Variables
BPy_SpatialNoiseShader.cpp File Reference
#include "BPy_SpatialNoiseShader.h"
#include "../../stroke/AdvancedStrokeShaders.h"
#include "../BPy_Convert.h"

Go to the source code of this file.

Functions

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

Variables

static char SpatialNoiseShader___doc__ []
 
PyTypeObject SpatialNoiseShader_Type
 

Function Documentation

◆ SpatialNoiseShader___init__()

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

Definition at line 50 of file BPy_SpatialNoiseShader.cpp.

References bool_from_PyBool().

Variable Documentation

◆ SpatialNoiseShader___doc__

char SpatialNoiseShader___doc__[]
static
Initial value:
=
"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"

Definition at line 22 of file BPy_SpatialNoiseShader.cpp.

◆ SpatialNoiseShader_Type

PyTypeObject SpatialNoiseShader_Type

Definition at line 80 of file BPy_SpatialNoiseShader.cpp.

Referenced by StrokeShader_Init().