Defines

Flags for Sub Object Hit Test

These are the same bits used for object level. More...

Defines

#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.
#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)

Detailed Description

These are the same bits used for object level.


Define Documentation

#define SUBHIT_SELONLY   (1<<0)
#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)