3ds Max C++ API Reference
IMeshCollector::FaceDefinition Struct Reference

Defines the vertex indices that form a triangular face in a mesh. More...

#include <IMeshCollector.h>

Public Member Functions

 FaceDefinition (const unsigned int a, const unsigned int b, const unsigned int c)
 Constructs a face definition using the three indices that define this triangular face. More...
 

Public Attributes

unsigned int indices [3]
 The vertex indices that define this triangular face. More...
 

Detailed Description

Defines the vertex indices that form a triangular face in a mesh.

Constructor & Destructor Documentation

◆ FaceDefinition()

FaceDefinition ( const unsigned int  a,
const unsigned int  b,
const unsigned int  c 
)
inline

Constructs a face definition using the three indices that define this triangular face.

138 {
139  indices[0] = a;
140  indices[1] = b;
141  indices[2] = c;
142 }
unsigned int indices[3]
The vertex indices that define this triangular face.
Definition: IMeshCollector.h:72

Member Data Documentation

◆ indices

unsigned int indices[3]

The vertex indices that define this triangular face.