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.

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