VIEWPORT_PICK_FLAGS

Detailed Description

Enumerations

enum class  VIEWPORT_PICK_FLAGS {
  NONE ,
  ALLOW_OGL ,
  DONT_STOP_THREADS ,
  USE_SEL_FILTER ,
  OGL_ONLY_TOPMOST ,
  OGL_ONLY_VISIBLE ,
  OGL_IGNORE_Z ,
  OGL_ONLY_TOPMOST_WITH_OBJ ,
  NO_DEPTH_CORRECTION
}
 

Functions

enum VIEWPORT_PICK_FLAGS MAXON_ENUM_FLAGS (VIEWPORT_PICK_FLAGS)
 

Enumeration Type Documentation

◆ VIEWPORT_PICK_FLAGS

enum VIEWPORT_PICK_FLAGS
strong
Enumerator
NONE 

None.

ALLOW_OGL 

Allow OpenGL.

DONT_STOP_THREADS 

Do not stop threads.

USE_SEL_FILTER 

Use selection filter.

OGL_ONLY_TOPMOST 

Picks only topmost object. Use this only when the object pointer is not needed. Only works with OpenGL.

OGL_ONLY_VISIBLE 

Picks only visible. Only has an effect when calling ViewportSelect::PickObject() that takes ViewportPixel as argument . Only works with OpenGL.

OGL_IGNORE_Z 

Picks ignore Z position. Set this to only check if an object (and which) was hit, not its Z position. Only works with OpenGL.

OGL_ONLY_TOPMOST_WITH_OBJ 

Picks only topmost object but returns the topmost object with its Z position. Only works with OpenGL.

NO_DEPTH_CORRECTION 

To support old tools, the matrix is usually corrected so that the depth can be in the [-1, 1] range. With this option set, this does not happen any more.

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum VIEWPORT_PICK_FLAGS MAXON_ENUM_FLAGS ( VIEWPORT_PICK_FLAGS  )