Blender V4.3
BPy_IncreasingColorShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (IncreasingColorShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingColorShader`\n" "\n" "[Color shader]\n" "\n" ".. method:: __init__(red_min, green_min, blue_min, alpha_min, red_max, green_max, blue_max, " "alpha_max)\n" "\n" " Builds an IncreasingColorShader object.\n" "\n" " :arg red_min: The first color red component.\n" " :type red_min: float\n" " :arg green_min: The first color green component.\n" " :type green_min: float\n" " :arg blue_min: The first color blue component.\n" " :type blue_min: float\n" " :arg alpha_min: The first color alpha value.\n" " :type alpha_min: float\n" " :arg red_max: The second color red component.\n" " :type red_max: float\n" " :arg green_max: The second color green component.\n" " :type green_max: float\n" " :arg blue_max: The second color blue component.\n" " :type blue_max: float\n" " :arg alpha_max: The second color alpha value.\n" " :type alpha_max: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns a varying color to the stroke. The user specifies two\n" " colors A and B. The stroke color will change linearly from A to B\n" " between the first and the last vertex.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int IncreasingColorShader___init__ (BPy_IncreasingColorShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject IncreasingColorShader_Type
 

Function Documentation

◆ IncreasingColorShader___init__()

static int IncreasingColorShader___init__ ( BPy_IncreasingColorShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 61 of file BPy_IncreasingColorShader.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( IncreasingColorShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`IncreasingColorShader`\n" "\n" "\n" "\n" ".. method::__init__(red_min, green_min, blue_min, alpha_min, red_max, green_max, blue_max, " "alpha_max)\n" "\n" " Builds an IncreasingColorShader object.\n" "\n" " :arg red_min:The first color red component.\n" " :type red_min:float\n" " :arg green_min:The first color green component.\n" " :type green_min:float\n" " :arg blue_min:The first color blue component.\n" " :type blue_min:float\n" " :arg alpha_min:The first color alpha value.\n" " :type alpha_min:float\n" " :arg red_max:The second color red component.\n" " :type red_max:float\n" " :arg green_max:The second color green component.\n" " :type green_max:float\n" " :arg blue_max:The second color blue component.\n" " :type blue_max:float\n" " :arg alpha_max:The second color alpha value.\n" " :type alpha_max:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Assigns a varying color to the stroke. The user specifies two\n" " colors A and B. The stroke color will change linearly from A to B\n" " between the first and the last vertex.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" [Color shader] )

Variable Documentation

◆ IncreasingColorShader_Type

PyTypeObject IncreasingColorShader_Type

Definition at line 89 of file BPy_IncreasingColorShader.cpp.

Referenced by StrokeShader_Init().