Blender
V3.3
|
#include <BasicStrokeShaders.h>
Public Member Functions | |
ConstantColorShader (float iR, float iG, float iB, float iAlpha=1.0f) | |
virtual string | getName () const |
virtual int | shade (Stroke &stroke) const |
![]() | |
StrokeShader () | |
virtual | ~StrokeShader () |
Additional Inherited Members | |
![]() | |
void * | py_ss |
[ Color Shader ]. Assigns a constant color to every vertices of the Stroke.
Definition at line 242 of file BasicStrokeShaders.h.
|
inline |
Builds the shader from a user-specified color.
iR | The red component |
iG | The green component |
iB | The blue component |
iAlpha | The alpha value |
Definition at line 254 of file BasicStrokeShaders.h.
|
inlinevirtual |
Returns the string corresponding to the shader's name.
Reimplemented from Freestyle::StrokeShader.
Definition at line 262 of file BasicStrokeShaders.h.
|
virtual |
The shading method.
Reimplemented from Freestyle::StrokeShader.
Definition at line 198 of file BasicStrokeShaders.cpp.
References Freestyle::Stroke::strokeVerticesBegin(), Freestyle::Stroke::strokeVerticesEnd(), and v.