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

Go to the source code of this file.

Functions

static int SamplingShader___init__ (BPy_SamplingShader *self, PyObject *args, PyObject *kwds)
 

Variables

static char SamplingShader___doc__ []
 
PyTypeObject SamplingShader_Type
 

Function Documentation

◆ SamplingShader___init__()

static int SamplingShader___init__ ( BPy_SamplingShader self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 40 of file BPy_SamplingShader.cpp.

Variable Documentation

◆ SamplingShader___doc__

char SamplingShader___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
"\n"
"[Geometry shader]\n"
"\n"
".. method:: __init__(sampling)\n"
"\n"
" Builds a SamplingShader object.\n"
"\n"
" :arg sampling: The sampling to use for the stroke resampling.\n"
" :type sampling: float\n"
"\n"
".. method:: shade(stroke)\n"
"\n"
" Resamples the stroke.\n"
"\n"
" :arg stroke: A Stroke object.\n"
" :type stroke: :class:`freestyle.types.Stroke`\n"

Definition at line 21 of file BPy_SamplingShader.cpp.

◆ SamplingShader_Type

PyTypeObject SamplingShader_Type

Definition at line 54 of file BPy_SamplingShader.cpp.

Referenced by StrokeShader_Init().