|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (PolygonalizationShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`PolygonalizationShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(error)\n" "\n" " Builds a PolygonalizationShader object.\n" "\n" " :arg error: The error we want our polygonal approximation to have\n" " with respect to the original geometry. The smaller, the closer\n" " the new stroke is to the original one. This error corresponds to\n" " the maximum distance between the new stroke and the old one.\n" " :type error: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Modifies the Stroke geometry so that it looks more \"polygonal\".\n" " The basic idea is to start from the minimal stroke approximation\n" " consisting in a line joining the first vertex to the last one and\n" " to subdivide using the original stroke vertices until a certain\n" " error is reached.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n") | |
| static int | PolygonalizationShader___init__ (BPy_PolygonalizationShader *self, PyObject *args, PyObject *kwds) |
Variables | |
| PyTypeObject | PolygonalizationShader_Type |
|
static |
Definition at line 47 of file BPy_PolygonalizationShader.cpp.
References PolygonalizationShader___init__(), BPy_PolygonalizationShader::py_ss, and BPy_StrokeShader::ss.
Referenced by PolygonalizationShader___init__().
| PyDoc_STRVAR | ( | PolygonalizationShader___doc__ | , |
| "Class hierarchy: :class:`freestyle.types.StrokeShader` | , | ||
| :class:`PolygonalizationShader`\n" "\n" "\n" "\n" ".. method::__init__(error)\n" "\n" " Builds a PolygonalizationShader object.\n" "\n" " :arg error:The error we want our polygonal approximation to have\n" " with respect to the original geometry. The | smaller[Geometry shader], | ||
| the closer\n" " the new stroke is to the original one. This error corresponds to\n" " the maximum distance between the new stroke and the old one.\n" " :type error:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Modifies the Stroke geometry so that it looks more \"polygonal\".\n" " The basic idea is to start from the minimal stroke approximation\n" " consisting in a line joining the first vertex to the last one and\n" " to subdivide using the original stroke vertices until a certain\n" " error is reached.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n" | ) |
References PyDoc_STRVAR().
| PyTypeObject PolygonalizationShader_Type |
Definition at line 63 of file BPy_PolygonalizationShader.cpp.
Referenced by StrokeShader_Init().