| 
    KiCad PCB EDA Suite
    
   | 
 
#include <material.h>
  
Public Member Functions | |
| BOARD_NORMAL () | |
| BOARD_NORMAL (float aScale) | |
| virtual | ~BOARD_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 55 of file material.h.
      
  | 
  inline | 
Definition at line 58 of file material.h.
References m_scale, and MATERIAL_GENERATOR::MATERIAL_GENERATOR().
| BOARD_NORMAL::BOARD_NORMAL | ( | float | aScale | ) | 
Definition at line 139 of file material.cpp.
References m_scale, and MATERIAL_GENERATOR::MATERIAL_GENERATOR().
      
  | 
  inlinevirtual | 
Definition at line 61 of file material.h.
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 145 of file material.cpp.
References HITINFO::m_HitPoint, m_scale, and s_perlinNoise.
      
  | 
  private | 
Definition at line 68 of file material.h.
Referenced by BOARD_NORMAL(), BOARD_NORMAL(), and Generate().