3ds Max C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Viewport Rendering Levels

These values are used by Interface7::SetActiveViewportRenderLevel(int level). More...

Macros

#define SHADE_LEVELS   10
 

Enumerations

enum  ShadeType {
  SMOOTH_HIGHLIGHT , SMOOTH , FACET_HIGHLITE , FACET ,
  CONSTANT , HIDDENLINE , LITE_WIREFRAME , Z_WIREFRAME ,
  WIREFRAME , BOX
}
 

Detailed Description

These values are used by Interface7::SetActiveViewportRenderLevel(int level).

The values correspond to the shading options in the Viewport right-click menu

Macro Definition Documentation

◆ SHADE_LEVELS

#define SHADE_LEVELS   10

Enumeration Type Documentation

◆ ShadeType

enum ShadeType
Enumerator
SMOOTH_HIGHLIGHT 

Smooth shading with highlights.

SMOOTH 

Smooth shading without highlights.

FACET_HIGHLITE 

Faces\facets with highlights.

FACET 

Faces\facets without highlights.

CONSTANT 

Flat shading.

HIDDENLINE 
LITE_WIREFRAME 

Lit wireframe shading.

Z_WIREFRAME 

Unused.

WIREFRAME 

Wireframe shading.

BOX 

Displays objects as bounding boxes.

318 {
320 SMOOTH,
322 FACET,
323 CONSTANT,
324 HIDDENLINE,
327 WIREFRAME,
328 BOX
329};
@ LITE_WIREFRAME
Lit wireframe shading.
Definition: maxapi.h:325
@ BOX
Displays objects as bounding boxes.
Definition: maxapi.h:328
@ SMOOTH
Smooth shading without highlights.
Definition: maxapi.h:320
@ SMOOTH_HIGHLIGHT
Smooth shading with highlights.
Definition: maxapi.h:319
@ CONSTANT
Flat shading.
Definition: maxapi.h:323
@ HIDDENLINE
Definition: maxapi.h:324
@ FACET_HIGHLITE
Faces\facets with highlights.
Definition: maxapi.h:321
@ FACET
Faces\facets without highlights.
Definition: maxapi.h:322
@ WIREFRAME
Wireframe shading.
Definition: maxapi.h:327
@ Z_WIREFRAME
Unused.
Definition: maxapi.h:326