3ds Max C++ API Reference
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.

289  {
291  SMOOTH,
293  FACET,
294  CONSTANT,
295  HIDDENLINE,
297  Z_WIREFRAME,
298  WIREFRAME,
299  BOX
300 };
@ LITE_WIREFRAME
Lit wireframe shading.
Definition: maxapi.h:296
@ BOX
Displays objects as bounding boxes.
Definition: maxapi.h:299
@ SMOOTH
Smooth shading without highlights.
Definition: maxapi.h:291
@ SMOOTH_HIGHLIGHT
Smooth shading with highlights.
Definition: maxapi.h:290
@ CONSTANT
Flat shading.
Definition: maxapi.h:294
@ HIDDENLINE
Definition: maxapi.h:295
@ FACET_HIGHLITE
Faces\facets with highlights.
Definition: maxapi.h:292
@ FACET
Faces\facets without highlights.
Definition: maxapi.h:293
@ WIREFRAME
Wireframe shading.
Definition: maxapi.h:298
@ Z_WIREFRAME
Unused.
Definition: maxapi.h:297