3ds Max C++ API Reference
|
These are the same bits used for object level. More...
Macros | |
#define | SUBHIT_SELONLY (1<<0) |
Selected only. More... | |
#define | SUBHIT_UNSELONLY (1<<2) |
Unselected only. More... | |
#define | SUBHIT_ABORTONHIT (1<<3) |
Abort hit testing on the first hit found. More... | |
#define | SUBHIT_SELSOLID (1<<4) |
This treats selected items as solid and unselected items as not solid. More... | |
#define | SUBHIT_USEFACESEL (1<<23) |
When this bit is set, the sel only and unsel only tests will use the faces selection when doing a vertex level hit test. More... | |
#define | SUBHIT_VERTS (1<<24) |
Hit test vertices. More... | |
#define | SUBHIT_FACES (1<<25) |
Hit test faces. More... | |
#define | SUBHIT_EDGES (1<<26) |
Hit test edges. More... | |
#define | SUBHIT_TYPEMASK (SUBHIT_VERTS|SUBHIT_FACES|SUBHIT_EDGES) |
#define | SUBHIT_CHECK_ONLY (1<<28) |
Use this flag for Mesh::SubObjectHitTest or MNMesh::SubObjectHitTest to check if any or all sub-objects are hit. More... | |
#define | SUBHIT_IGNOREOCCLUDED (1 << 30) |
Indicates that occluded sub-objects should be ignored. More... | |
These are the same bits used for object level.
#define SUBHIT_SELONLY (1<<0) |
Selected only.
#define SUBHIT_UNSELONLY (1<<2) |
Unselected only.
#define SUBHIT_ABORTONHIT (1<<3) |
Abort hit testing on the first hit found.
#define SUBHIT_SELSOLID (1<<4) |
This treats selected items as solid and unselected items as not solid.
Treating an item as solid means the face will be hit if the mouse is anywhere inside the face region and not just over a visible edge.
#define SUBHIT_USEFACESEL (1<<23) |
When this bit is set, the sel only and unsel only tests will use the faces selection when doing a vertex level hit test.
#define SUBHIT_VERTS (1<<24) |
Hit test vertices.
#define SUBHIT_FACES (1<<25) |
Hit test faces.
#define SUBHIT_EDGES (1<<26) |
Hit test edges.
#define SUBHIT_TYPEMASK (SUBHIT_VERTS|SUBHIT_FACES|SUBHIT_EDGES) |
#define SUBHIT_CHECK_ONLY (1<<28) |
Use this flag for Mesh::SubObjectHitTest or MNMesh::SubObjectHitTest to check if any or all sub-objects are hit.
The system uses this flag to perform per-object selection test.
#define SUBHIT_IGNOREOCCLUDED (1 << 30) |
Indicates that occluded sub-objects should be ignored.