Blender V4.3
Freestyle::StrokeShaders::StrokeTextureStepShader Class Reference

#include <BasicStrokeShaders.h>

Inherits Freestyle::StrokeShader.

Public Member Functions

 StrokeTextureStepShader (float step)
 
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
 

Detailed Description

Texture Shader.

Shader to assign texture to the Stroke material.

Definition at line 614 of file BasicStrokeShaders.h.

Constructor & Destructor Documentation

◆ StrokeTextureStepShader()

Freestyle::StrokeShaders::StrokeTextureStepShader::StrokeTextureStepShader ( float step)
inline

Builds the shader.

Parameters
idThe number of the preset to use.

Definition at line 623 of file BasicStrokeShaders.h.

Member Function Documentation

◆ getName()

virtual string Freestyle::StrokeShaders::StrokeTextureStepShader::getName ( ) const
inlinevirtual

Returns the string corresponding to the shader's name.

Reimplemented from Freestyle::StrokeShader.

Definition at line 628 of file BasicStrokeShaders.h.

◆ shade()

int Freestyle::StrokeShaders::StrokeTextureStepShader::shade ( Stroke & stroke) const
virtual

The shading method

Reimplemented from Freestyle::StrokeShader.

Definition at line 299 of file BasicStrokeShaders.cpp.

References Freestyle::Stroke::setTextureStep().


The documentation for this class was generated from the following files: