Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
FBMaterialID Class Reference

This class handles two MaterialID that simplifies operation on faces which have front and back materials. For example Sketchup format use intensively that kind of faces, and FBMaterial is a simple way to know if a face IsSingleMaterial, or if it has different front and back materials.
More...

Detailed Description

This class handles two MaterialID that simplifies operation on faces which have front and back materials. For example Sketchup format use intensively that kind of faces, and FBMaterial is a simple way to know if a face IsSingleMaterial, or if it has different front and back materials.

#include <3DFaceList.h>

Public Member Functions

 FBMaterialID (MaterialID front, MaterialID back=MATERIAL_UNDEFINED)
 
bool operator== (FBMaterialID mat) const
 
bool operator!= (FBMaterialID mat) const
 
bool IsUndefined () const
 
bool IsFrontDefined () const
 
bool IsBackDefined () const
 
bool IsSingleMaterial () const
 

Public Attributes

MaterialID frontID
 
MaterialID backID
 

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