LightsprintSDK 2021.08.08
rr::RRObject::FaceGroup Struct Reference

#include <RRObject.h>

Public Member Functions

 FaceGroup ()
 
 FaceGroup (RRMaterial *_material, unsigned _numTriangles)
 
bool operator== (const FaceGroup &a) const
 
bool operator!= (const FaceGroup &a) const
 

Public Attributes

RRMaterialmaterial
 
unsigned numTriangles
 

Detailed Description

Specifies material assigned to a group of triangles.

Constructor & Destructor Documentation

◆ FaceGroup() [1/2]

rr::RRObject::FaceGroup::FaceGroup ( )
inline

◆ FaceGroup() [2/2]

rr::RRObject::FaceGroup::FaceGroup ( RRMaterial _material,
unsigned  _numTriangles 
)
inline

Member Function Documentation

◆ operator==()

bool rr::RRObject::FaceGroup::operator== ( const FaceGroup a) const
inline

◆ operator!=()

bool rr::RRObject::FaceGroup::operator!= ( const FaceGroup a) const
inline

Member Data Documentation

◆ material

RRMaterial* rr::RRObject::FaceGroup::material

Material assigned to all triangles in group. Must not be nullptr.

◆ numTriangles

unsigned rr::RRObject::FaceGroup::numTriangles

Number of triangles in group.