Blender V4.3
BPy_ConstantThicknessShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (ConstantThicknessShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantThicknessShader`\n" "\n" "[Thickness shader]\n" "\n" ".. method:: __init__(thickness)\n" "\n" " Builds a ConstantThicknessShader object.\n" "\n" " :arg thickness: The thickness that must be assigned to the stroke.\n" " :type thickness: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns an absolute constant thickness to every vertex of the Stroke.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int ConstantThicknessShader___init__ (BPy_ConstantThicknessShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject ConstantThicknessShader_Type
 

Function Documentation

◆ ConstantThicknessShader___init__()

static int ConstantThicknessShader___init__ ( BPy_ConstantThicknessShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 44 of file BPy_ConstantThicknessShader.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( ConstantThicknessShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`ConstantThicknessShader`\n" "\n" "\n" "\n" ".. method::__init__(thickness)\n" "\n" " Builds a ConstantThicknessShader object.\n" "\n" " :arg thickness:The thickness that must be assigned to the stroke.\n" " :type thickness:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Assigns an absolute constant thickness to every vertex of the Stroke.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" [Thickness shader] )

Variable Documentation

◆ ConstantThicknessShader_Type

PyTypeObject ConstantThicknessShader_Type

Definition at line 60 of file BPy_ConstantThicknessShader.cpp.

Referenced by StrokeShader_Init().