| 
    KiCad PCB EDA Suite
    
   | 
 
A base class that can be used to derive procedurally generated materials. More...
#include <material.h>
  
Public Member Functions | |
| MATERIAL_GENERATOR () | |
| virtual | ~MATERIAL_GENERATOR () | 
| virtual SFVEC3F | Generate (const RAY &aRay, const HITINFO &aHitInfo) const =0 | 
| Generate a 3D vector based on the ray and hit information depending on the implementation.   | |
A base class that can be used to derive procedurally generated materials.
Definition at line 35 of file material.h.
| MATERIAL_GENERATOR::MATERIAL_GENERATOR | ( | ) | 
Definition at line 131 of file material.cpp.
Referenced by BOARD_NORMAL::BOARD_NORMAL(), BOARD_NORMAL::BOARD_NORMAL(), BRUSHED_METAL_NORMAL::BRUSHED_METAL_NORMAL(), COPPER_NORMAL::COPPER_NORMAL(), COPPER_NORMAL::COPPER_NORMAL(), PLASTIC_NORMAL::PLASTIC_NORMAL(), PLASTIC_SHINE_NORMAL::PLASTIC_SHINE_NORMAL(), PLATED_COPPER_NORMAL::PLATED_COPPER_NORMAL(), SILK_SCREEN_NORMAL::SILK_SCREEN_NORMAL(), SOLDER_MASK_NORMAL::SOLDER_MASK_NORMAL(), and SOLDER_MASK_NORMAL::SOLDER_MASK_NORMAL().
      
  | 
  inlinevirtual | 
Definition at line 40 of file material.h.
      
  | 
  pure virtual | 
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 | 
Implemented in BOARD_NORMAL, BRUSHED_METAL_NORMAL, COPPER_NORMAL, PLASTIC_NORMAL, PLASTIC_SHINE_NORMAL, PLATED_COPPER_NORMAL, SILK_SCREEN_NORMAL, and SOLDER_MASK_NORMAL.