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

Go to the source code of this file.

Functions

static int BackboneStretcherShader___init__ (BPy_BackboneStretcherShader *self, PyObject *args, PyObject *kwds)
 

Variables

static char BackboneStretcherShader___doc__ []
 
PyTypeObject BackboneStretcherShader_Type
 

Function Documentation

◆ BackboneStretcherShader___init__()

static int BackboneStretcherShader___init__ ( BPy_BackboneStretcherShader self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 41 of file BPy_BackboneStretcherShader.cpp.

Variable Documentation

◆ BackboneStretcherShader___doc__

char BackboneStretcherShader___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BackboneStretcherShader`\n"
"\n"
"[Geometry shader]\n"
"\n"
".. method:: __init__(amount=2.0)\n"
"\n"
" Builds a BackboneStretcherShader object.\n"
"\n"
" :arg amount: The stretching amount value.\n"
" :type amount: float\n"
"\n"
".. method:: shade(stroke)\n"
"\n"
" Stretches the stroke at its two extremities and following the\n"
" respective directions: v(1)v(0) and v(n-1)v(n).\n"
"\n"
" :arg stroke: A Stroke object.\n"
" :type stroke: :class:`freestyle.types.Stroke`\n"

Definition at line 21 of file BPy_BackboneStretcherShader.cpp.

◆ BackboneStretcherShader_Type

PyTypeObject BackboneStretcherShader_Type

Definition at line 57 of file BPy_BackboneStretcherShader.cpp.

Referenced by StrokeShader_Init().