3ds Max C++ API Reference
Loading...
Searching...
No Matches
Flags for Sub Object Hit-Test

Macros

#define SUBHIT_MNUSECURRENTSEL   (1<<22)
 When this bit is set, the selection only and unselection only tests will use the current level (edge or face) selection when doing a vertex level hit test.
 
#define SUBHIT_OPENONLY   (1<<23)
 
#define SUBHIT_MNVERTS   (1<<24)
 
#define SUBHIT_MNFACES   (1<<25)
 
#define SUBHIT_MNEDGES   (1<<26)
 
#define SUBHIT_MNDIAGONALS   (1<<27)
 Hit-test on "diagonals" of polygons - MNDiagonalHitData is the type of HitData returned.
 
#define SUBHIT_MNTYPEMASK   (SUBHIT_MNVERTS|SUBHIT_MNFACES|SUBHIT_MNEDGES|SUBHIT_MNDIAGONALS)
 
#define SUBHIT_IGNOREOPENBACKFACE   (1 << 29)
 Indicates that back face culling should be ignored for open edges/vertices.
 

Detailed Description

Macro Definition Documentation

◆ SUBHIT_MNUSECURRENTSEL

#define SUBHIT_MNUSECURRENTSEL   (1<<22)

When this bit is set, the selection only and unselection only tests will use the current level (edge or face) selection when doing a vertex level hit test.

◆ SUBHIT_OPENONLY

#define SUBHIT_OPENONLY   (1<<23)

◆ SUBHIT_MNVERTS

#define SUBHIT_MNVERTS   (1<<24)

◆ SUBHIT_MNFACES

#define SUBHIT_MNFACES   (1<<25)

◆ SUBHIT_MNEDGES

#define SUBHIT_MNEDGES   (1<<26)

◆ SUBHIT_MNDIAGONALS

#define SUBHIT_MNDIAGONALS   (1<<27)

Hit-test on "diagonals" of polygons - MNDiagonalHitData is the type of HitData returned.

◆ SUBHIT_MNTYPEMASK

◆ SUBHIT_IGNOREOPENBACKFACE

#define SUBHIT_IGNOREOPENBACKFACE   (1 << 29)

Indicates that back face culling should be ignored for open edges/vertices.