|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (ConstantColorShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantColorShader`\n" "\n" "[Color shader]\n" "\n" ".. method:: __init__(red, green, blue, alpha=1.0)\n" "\n" " Builds a ConstantColorShader object.\n" "\n" " :arg red: The red component.\n" " :type red: float\n" " :arg green: The green component.\n" " :type green: float\n" " :arg blue: The blue component.\n" " :type blue: float\n" " :arg alpha: The alpha value.\n" " :type alpha: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns a constant color to every vertex of the Stroke.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n") | |
| static int | ConstantColorShader___init__ (BPy_ConstantColorShader *self, PyObject *args, PyObject *kwds) |
Variables | |
| PyTypeObject | ConstantColorShader_Type |
|
static |
Definition at line 46 of file BPy_ConstantColorShader.cpp.
References ConstantColorShader___init__(), BPy_ConstantColorShader::py_ss, and BPy_StrokeShader::ss.
Referenced by ConstantColorShader___init__().
| PyDoc_STRVAR | ( | ConstantColorShader___doc__ | , |
| "Class hierarchy: :class:`freestyle.types.StrokeShader` | , | ||
| :class:`ConstantColorShader`\n" "\n" "\n" "\n" ".. method::__init__(red, green, blue, alpha=1.0)\n" "\n" " Builds a ConstantColorShader object.\n" "\n" " :arg red:The red component.\n" " :type red:float\n" " :arg green:The green component.\n" " :type green:float\n" " :arg blue:The blue component.\n" " :type blue:float\n" " :arg alpha:The alpha value.\n" " :type alpha:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Assigns a constant color to every vertex of the Stroke.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" | [Color shader] ) |
References PyDoc_STRVAR().
| PyTypeObject ConstantColorShader_Type |
Definition at line 62 of file BPy_ConstantColorShader.cpp.
Referenced by StrokeShader_Init().