3ds Max C++ API Reference
Loading...
Searching...
No Matches
Interface7::SetNodeAttribute Defines

Node attribute flags used by Interface7::SetNodeAttribute. More...

Macros

#define ATTRIB_HIDE   0
 If set, node is not visible in the viewport.
 
#define ATTRIB_FREEZE   1
 If set, node is frozen.
 
#define ATTRIB_BOXMODE   2
 If set, node is displayed as box.
 
#define ATTRIB_BACKCULL   3
 If set (default), faces with normals pointing away from the camera are not displayed.
 
#define ATTRIB_ALLEDGES   4
 If set, all edges including hidden ones and polygon diagonals are displayed.
 
#define ATTRIB_LINKDISP   5
 If set, a wireframe representation of any hierarchical link (parent\child, etc) to the node is displayed.
 
#define ATTRIB_LINKREPL   6
 If set, the wireframe representation of the hierarchical link is displayed instead of the node.
 
#define ATTRIB_UNSEL   7
 for internal use only; something is not selected
 
#define ATTRIB_HIDE_UNSEL   8
 for internal use only
 
#define ATTRIB_FREEZE_UNSEL   9
 for internal use only
 
#define ATTRIB_VERTTICKS   10
 If set, the vertices of the object are displayed as tick marks.
 
#define ATTRIB_UNHIDE   11
 for internal use only
 
#define ATTRIB_UNFREEZE   12
 for internal use only
 
#define ATTRIB_CVERTS   13
 If set, the display of vertex color channel is enabled.
 
#define ATTRIB_SHADE_CVERTS   14
 If set, the vertex color is shaded if the viewport is in a shaded display mode.
 
#define ATTRIB_XRAY   15
 If set, makes the object translucent in the viewport.
 
#define ATTRIB_IGNORE_EXT   16
 if set, the object is ignored by the Zoom Extents operation
 
#define ATTRIB_TRAJECTORY   17
 if set, the object's trajectory is displayed
 
#define ATTRIB_FRZMTL   18
 set, the object turns gray when it's frozen
 
#define ATTRIB_HIDE_WITH_LAYER   19
 if set, the hide\unhide operation applies the whole layer the object is on
 
#define ATTRIB_FREEZE_WITH_LAYER   20
 if set, the freeze\unfreeze operation applies to the whole layer the object is on
 
#define ATTRIB_INHERITVISIBILITY   100
 if set, the object inherits a percentage of its visibility from its parent
 
#define ATTRIB_CASTSHADOWS   101
 If set, the object can cast shadows.
 
#define ATTRIB_RECEIVESHADOWS   102
 If set, the object can receive shadows.
 
#define ATTRIB_ISTARGET   103
 If set, the object is marked as the target of another object.
 
#define ATTRIB_RENDERABLE   104
 If set, the object is rendered.
 
#define ATTRIB_RENDEROCCLUDED   105
 If set, the object becomes transparent from the point of view of special effects, thus the objects being occluded are affected by the special effects.
 
#define ATTRIB_RCVCAUSTICS   106
 If set, the object can receive caustics.
 
#define ATTRIB_GENERATECAUSTICS   107
 If set, the object can generate caustics.
 
#define ATTRIB_RCVGLOBALILLUM   108
 If set, the object can receive global illumination.
 
#define ATTRIB_GENERATEGLOBALILLUM   109
 If set, the object can generate global illumination.
 
#define ATTRIB_SETWIRECOLOR   110
 If set, the supplied wire frame color is set on to the object.
 
#define ATTRIB_SETGBUFID   111
 If set, tags an object as target for a render effect based on the supplied G-buffer channel.
 
#define ATTRIB_PRIMARYVISIBILITY   112
 If set, the object is visible to cameras to an extent specified by the visibility parameter.
 
#define ATTRIB_SECONDARYVISIBILITY   113
 If set, the object appears in rendered reflections and refractions.
 
#define ATTRIB_MOTIONBLUR   114
 If set, motion blur is enabled for the object.
 

Detailed Description

Node attribute flags used by Interface7::SetNodeAttribute.

Macro Definition Documentation

◆ ATTRIB_HIDE

#define ATTRIB_HIDE   0

If set, node is not visible in the viewport.

◆ ATTRIB_FREEZE

#define ATTRIB_FREEZE   1

If set, node is frozen.

◆ ATTRIB_BOXMODE

#define ATTRIB_BOXMODE   2

If set, node is displayed as box.

◆ ATTRIB_BACKCULL

#define ATTRIB_BACKCULL   3

If set (default), faces with normals pointing away from the camera are not displayed.

Applies only in wireframe viewport shading modes

◆ ATTRIB_ALLEDGES

#define ATTRIB_ALLEDGES   4

If set, all edges including hidden ones and polygon diagonals are displayed.

Applies to all viewport shading modes where the edges are drawn

◆ ATTRIB_LINKDISP

#define ATTRIB_LINKDISP   5

If set, a wireframe representation of any hierarchical link (parent\child, etc) to the node is displayed.

◆ ATTRIB_LINKREPL

#define ATTRIB_LINKREPL   6

If set, the wireframe representation of the hierarchical link is displayed instead of the node.

◆ ATTRIB_UNSEL

#define ATTRIB_UNSEL   7

for internal use only; something is not selected

◆ ATTRIB_HIDE_UNSEL

#define ATTRIB_HIDE_UNSEL   8

for internal use only

◆ ATTRIB_FREEZE_UNSEL

#define ATTRIB_FREEZE_UNSEL   9

for internal use only

◆ ATTRIB_VERTTICKS

#define ATTRIB_VERTTICKS   10

If set, the vertices of the object are displayed as tick marks.

◆ ATTRIB_UNHIDE

#define ATTRIB_UNHIDE   11

for internal use only

◆ ATTRIB_UNFREEZE

#define ATTRIB_UNFREEZE   12

for internal use only

◆ ATTRIB_CVERTS

#define ATTRIB_CVERTS   13

If set, the display of vertex color channel is enabled.

◆ ATTRIB_SHADE_CVERTS

#define ATTRIB_SHADE_CVERTS   14

If set, the vertex color is shaded if the viewport is in a shaded display mode.

◆ ATTRIB_XRAY

#define ATTRIB_XRAY   15

If set, makes the object translucent in the viewport.

◆ ATTRIB_IGNORE_EXT

#define ATTRIB_IGNORE_EXT   16

if set, the object is ignored by the Zoom Extents operation

◆ ATTRIB_TRAJECTORY

#define ATTRIB_TRAJECTORY   17

if set, the object's trajectory is displayed

◆ ATTRIB_FRZMTL

#define ATTRIB_FRZMTL   18

set, the object turns gray when it's frozen

◆ ATTRIB_HIDE_WITH_LAYER

#define ATTRIB_HIDE_WITH_LAYER   19

if set, the hide\unhide operation applies the whole layer the object is on

◆ ATTRIB_FREEZE_WITH_LAYER

#define ATTRIB_FREEZE_WITH_LAYER   20

if set, the freeze\unfreeze operation applies to the whole layer the object is on

◆ ATTRIB_INHERITVISIBILITY

#define ATTRIB_INHERITVISIBILITY   100

if set, the object inherits a percentage of its visibility from its parent

◆ ATTRIB_CASTSHADOWS

#define ATTRIB_CASTSHADOWS   101

If set, the object can cast shadows.

◆ ATTRIB_RECEIVESHADOWS

#define ATTRIB_RECEIVESHADOWS   102

If set, the object can receive shadows.

◆ ATTRIB_ISTARGET

#define ATTRIB_ISTARGET   103

If set, the object is marked as the target of another object.

Same as INode::SetIsTarget(BOOL b)

◆ ATTRIB_RENDERABLE

#define ATTRIB_RENDERABLE   104

If set, the object is rendered.

◆ ATTRIB_RENDEROCCLUDED

#define ATTRIB_RENDEROCCLUDED   105

If set, the object becomes transparent from the point of view of special effects, thus the objects being occluded are affected by the special effects.

◆ ATTRIB_RCVCAUSTICS

#define ATTRIB_RCVCAUSTICS   106

If set, the object can receive caustics.

◆ ATTRIB_GENERATECAUSTICS

#define ATTRIB_GENERATECAUSTICS   107

If set, the object can generate caustics.

◆ ATTRIB_RCVGLOBALILLUM

#define ATTRIB_RCVGLOBALILLUM   108

If set, the object can receive global illumination.

◆ ATTRIB_GENERATEGLOBALILLUM

#define ATTRIB_GENERATEGLOBALILLUM   109

If set, the object can generate global illumination.

◆ ATTRIB_SETWIRECOLOR

#define ATTRIB_SETWIRECOLOR   110

If set, the supplied wire frame color is set on to the object.

◆ ATTRIB_SETGBUFID

#define ATTRIB_SETGBUFID   111

If set, tags an object as target for a render effect based on the supplied G-buffer channel.

◆ ATTRIB_PRIMARYVISIBILITY

#define ATTRIB_PRIMARYVISIBILITY   112

If set, the object is visible to cameras to an extent specified by the visibility parameter.

◆ ATTRIB_SECONDARYVISIBILITY

#define ATTRIB_SECONDARYVISIBILITY   113

If set, the object appears in rendered reflections and refractions.

◆ ATTRIB_MOTIONBLUR

#define ATTRIB_MOTIONBLUR   114

If set, motion blur is enabled for the object.