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

Go to the source code of this file.

Functions

static int IncreasingThicknessShader___init__ (BPy_IncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
 

Variables

static char IncreasingThicknessShader___doc__ []
 
PyTypeObject IncreasingThicknessShader_Type
 

Function Documentation

◆ IncreasingThicknessShader___init__()

static int IncreasingThicknessShader___init__ ( BPy_IncreasingThicknessShader self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 46 of file BPy_IncreasingThicknessShader.cpp.

Variable Documentation

◆ IncreasingThicknessShader___doc__

char IncreasingThicknessShader___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n"
"\n"
"[Thickness shader]\n"
"\n"
".. method:: __init__(thickness_A, thickness_B)\n"
"\n"
" Builds an IncreasingThicknessShader object.\n"
"\n"
" :arg thickness_A: The first thickness value.\n"
" :type thickness_A: float\n"
" :arg thickness_B: The second thickness value.\n"
" :type thickness_B: float\n"
"\n"
".. method:: shade(stroke)\n"
"\n"
" Assigns thicknesses values such as the thickness increases from a\n"
" thickness value A to a thickness value B between the first vertex\n"
" to the midpoint vertex and then decreases from B to a A between\n"
" this midpoint vertex and the last vertex. The thickness is\n"
" linearly interpolated from A to B.\n"
"\n"
" :arg stroke: A Stroke object.\n"
" :type stroke: :class:`freestyle.types.Stroke`\n"

Definition at line 21 of file BPy_IncreasingThicknessShader.cpp.

◆ IncreasingThicknessShader_Type

PyTypeObject IncreasingThicknessShader_Type

Definition at line 62 of file BPy_IncreasingThicknessShader.cpp.

Referenced by StrokeShader_Init().