KiCad PCB EDA Suite
|
#include <material.h>
Public Member Functions | |
PLATED_COPPER_NORMAL () | |
PLATED_COPPER_NORMAL (float aScale) | |
virtual | ~PLATED_COPPER_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 98 of file material.h.
|
inline |
Definition at line 101 of file material.h.
References m_scale.
|
inline |
Definition at line 106 of file material.h.
References m_scale.
|
inlinevirtual |
Definition at line 111 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 219 of file material.cpp.
References HITINFO::m_HitPoint, m_scale, PerlinNoise::noise(), and s_perlinNoise.
|
private |
Definition at line 118 of file material.h.
Referenced by Generate(), and PLATED_COPPER_NORMAL().