KiCad PCB EDA Suite
|
#include <material.h>
Public Member Functions | |
SILK_SCREEN_NORMAL () | |
SILK_SCREEN_NORMAL (float aScale) | |
virtual | ~SILK_SCREEN_NORMAL () |
SFVEC3F | Generate (const RAY &aRay, const HITINFO &aHitInfo) const override |
Generate a 3D vector based on the ray and hit information depending on the implementation. | |
Private Attributes | |
float | m_scale |
Definition at line 215 of file material.h.
|
inline |
Definition at line 218 of file material.h.
References m_scale.
SILK_SCREEN_NORMAL::SILK_SCREEN_NORMAL | ( | float | aScale | ) |
Definition at line 302 of file material.cpp.
References m_scale.
|
inlinevirtual |
Definition at line 225 of file material.h.
|
overridevirtual |
Generate a 3D vector based on the ray and hit information depending on the implementation.
aRay | the camera ray that hits the object |
aHitInfo | the hit information |
Implements MATERIAL_GENERATOR.
Definition at line 308 of file material.cpp.
References HITINFO::m_HitPoint, m_scale, PerlinNoise::noise(), and s_perlinNoise.
|
private |
Definition at line 232 of file material.h.
Referenced by Generate(), and SILK_SCREEN_NORMAL().