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

Go to the source code of this file.

Functions

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

Variables

static char ConstantThicknessShader___doc__ []
 
PyTypeObject ConstantThicknessShader_Type
 

Function Documentation

◆ ConstantThicknessShader___init__()

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

Definition at line 40 of file BPy_ConstantThicknessShader.cpp.

Variable Documentation

◆ ConstantThicknessShader___doc__

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

Definition at line 21 of file BPy_ConstantThicknessShader.cpp.

◆ ConstantThicknessShader_Type

PyTypeObject ConstantThicknessShader_Type

Definition at line 56 of file BPy_ConstantThicknessShader.cpp.

Referenced by StrokeShader_Init().