Blender V4.3
BPy_IncreasingThicknessShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (IncreasingThicknessShader___doc__, "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")
 
static int IncreasingThicknessShader___init__ (BPy_IncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject IncreasingThicknessShader_Type
 

Function Documentation

◆ IncreasingThicknessShader___init__()

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

Definition at line 50 of file BPy_IncreasingThicknessShader.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( IncreasingThicknessShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`IncreasingThicknessShader`\n" "\n" "\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" [Thickness shader] )

Variable Documentation

◆ IncreasingThicknessShader_Type

PyTypeObject IncreasingThicknessShader_Type

Definition at line 66 of file BPy_IncreasingThicknessShader.cpp.

Referenced by StrokeShader_Init().