VIEWPORT_PICK_FLAGS

Detailed Description

Enumerations

enum  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
}
 

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.

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum VIEWPORT_PICK_FLAGS MAXON_ENUM_FLAGS ( VIEWPORT_PICK_FLAGS  )