3ds Max C++ API Reference
Loading...
Searching...
No Matches
MNFace Flags

Macros

#define MN_FACE_OPEN_REGION   (1<<8)
 This face is part of a region of the mesh that is not closed, i.e.
 
#define MN_FACE_CHECKED   (1<<9)
 
#define MN_FACE_CHANGED   (1<<10)
 This flag can be cleared on all faces before an operation that moves some of the vertices of an MNMesh, then set for each face touching one of the moved vertices.
 
#define MN_FACE_CULLED   (1<<11)
 Used to indicate a face has been culled during hit-testing.
 
#define MN_FACE_CREATED   (1<<12)
 Used to indicate a face has been created by an operation.
 

Detailed Description

Macro Definition Documentation

◆ MN_FACE_OPEN_REGION

#define MN_FACE_OPEN_REGION   (1<<8)

This face is part of a region of the mesh that is not closed, i.e.

there are 1-sided edges. This means that the mesh is not a solid object, it has gaps or holes.

◆ MN_FACE_CHECKED

#define MN_FACE_CHECKED   (1<<9)

For recursive face-and-neighbor-checking

◆ MN_FACE_CHANGED

#define MN_FACE_CHANGED   (1<<10)

This flag can be cleared on all faces before an operation that moves some of the vertices of an MNMesh, then set for each face touching one of the moved vertices.

This tells the parent MNMesh that these faces may need to have information such as triangulation recomputed. This flag is set by the MNMesh::SabinDoo() method.

◆ MN_FACE_CULLED

#define MN_FACE_CULLED   (1<<11)

Used to indicate a face has been culled during hit-testing.

◆ MN_FACE_CREATED

#define MN_FACE_CREATED   (1<<12)

Used to indicate a face has been created by an operation.

For example, this flag is set by the MNMesh::QuadChamfer method on faces that are part of the chamfer. Methods that use this flag will clear it on all faces before performing operations, so that only newly-created faces will have it set.