Defines

Scene and Node Hit Test Types.

Defines

#define  HITTYPE_POINT   1
  Hit test by a single pick point.
#define  HITTYPE_BOX   2
  Hit test by a rectangular area.
#define  HITTYPE_CIRCLE   3
  Hit test by circular selection area.
#define  HITTYPE_SOLID   4
  Hit test a face as if it was solid, even in wireframe mode.
#define  HITTYPE_FENCE   5
  Hit testing by an arbitrary polygon fence.
#define  HITTYPE_LASSO   6
#define  HITTYPE_PAINT   7

Define Documentation

#define HITTYPE_POINT   1

Hit test by a single pick point.

#define HITTYPE_BOX   2

Hit test by a rectangular area.

#define HITTYPE_CIRCLE   3

Hit test by circular selection area.

#define HITTYPE_SOLID   4

Hit test a face as if it was solid, even in wireframe mode.

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. For example in 3ds Max when an object is not selected and you put the mouse over it to select it, you need to put it over the wireframe. When an object is selected however you can put the mouse anywhere over the object and the system still considers this a valid area for hit testing. This later case is treating the faces of the selected object as solids.

#define HITTYPE_FENCE   5

Hit testing by an arbitrary polygon fence.

#define HITTYPE_LASSO   6
#define HITTYPE_PAINT   7