Blender  V3.3
Functions | Variables
BPy_ColorNoiseShader.cpp File Reference
#include "BPy_ColorNoiseShader.h"
#include "../../stroke/BasicStrokeShaders.h"

Go to the source code of this file.

Functions

static int ColorNoiseShader___init__ (BPy_ColorNoiseShader *self, PyObject *args, PyObject *kwds)
 

Variables

static char ColorNoiseShader___doc__ []
 
PyTypeObject ColorNoiseShader_Type
 

Function Documentation

◆ ColorNoiseShader___init__()

static int ColorNoiseShader___init__ ( BPy_ColorNoiseShader self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 42 of file BPy_ColorNoiseShader.cpp.

Variable Documentation

◆ ColorNoiseShader___doc__

char ColorNoiseShader___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ColorNoiseShader`\n"
"\n"
"[Color shader]\n"
"\n"
".. method:: __init__(amplitude, period)\n"
"\n"
" Builds a ColorNoiseShader object.\n"
"\n"
" :arg amplitude: The amplitude of the noise signal.\n"
" :type amplitude: float\n"
" :arg period: The period of the noise signal.\n"
" :type period: float\n"
"\n"
".. method:: shade(stroke)\n"
"\n"
" Shader to add noise to the stroke colors.\n"
"\n"
" :arg stroke: A Stroke object.\n"
" :type stroke: :class:`freestyle.types.Stroke`\n"

Definition at line 21 of file BPy_ColorNoiseShader.cpp.

◆ ColorNoiseShader_Type

PyTypeObject ColorNoiseShader_Type

Definition at line 56 of file BPy_ColorNoiseShader.cpp.

Referenced by StrokeShader_Init().