|
Blender
V3.3
|
#include <BasicStrokeShaders.h>
Public Member Functions | |
| IncreasingThicknessShader (float iThicknessMin, float iThicknessMax) | |
| virtual | ~IncreasingThicknessShader () |
| virtual string | getName () const |
| virtual int | shade (Stroke &stroke) const |
Public Member Functions inherited from Freestyle::StrokeShader | |
| StrokeShader () | |
| virtual | ~StrokeShader () |
Additional Inherited Members | |
Public Attributes inherited from Freestyle::StrokeShader | |
| void * | py_ss |
[ Thickness Shader ]. Assigns thicknesses values such as the thickness increases from a thickness value A to a thickness value B between the first vertex to the midpoint vertex and then decreases from B to a A between this midpoint vertex and the last vertex. The thickness is linearly interpolated from A to B.
Definition at line 101 of file BasicStrokeShaders.h.
|
inline |
Builds the shader.
| iThicknessMin | The first thickness value. |
| iThicknessMax | The second thickness value. |
Definition at line 109 of file BasicStrokeShaders.h.
|
inlinevirtual |
Destructor.
Definition at line 116 of file BasicStrokeShaders.h.
|
inlinevirtual |
Returns the string corresponding to the shader's name.
Reimplemented from Freestyle::StrokeShader.
Definition at line 120 of file BasicStrokeShaders.h.
|
virtual |
The shading method.
Reimplemented from Freestyle::StrokeShader.
Definition at line 76 of file BasicStrokeShaders.cpp.
References float(), Freestyle::Stroke::strokeVerticesBegin(), Freestyle::Stroke::strokeVerticesEnd(), Freestyle::Stroke::strokeVerticesSize(), t, and v.