PartID

Module description

This section describes the PartID parameter used to pass information that supports messages received by Reference Makers.

Typedefs

typedef ULONG_PTR PartID
 This is NOT just a bitmask, the parameter is also used to stuff pointers, hence the ULONG_PTR. More...
 

Object Channel PartIDs

OBJECT STATE: SUB-PARTS These are the 4 sub-channels in the object state. Don't change these defines.

See also
channels.h for define of TOPO_CHANNEL, etc.
const PartID PART_TOPO = (PartID)TOPO_CHANNEL
 See TOPO_CHANNEL. More...
 
const PartID PART_GEOM = (PartID)GEOM_CHANNEL
 See GEOM_CHANNEL. More...
 
const PartID PART_TEXMAP = (PartID)TEXMAP_CHANNEL
 See TEXMAP_CHANNEL. More...
 
const PartID PART_MTL = (PartID)MTL_CHANNEL
 See MTL_CHANNEL. More...
 
const PartID PART_SELECT = (PartID)SELECT_CHANNEL
 See SELECT_CHANNEL. More...
 
const PartID PART_SUBSEL_TYPE = (PartID)SUBSEL_TYPE_CHANNEL
 See SUBSEL_TYPE_CHANNEL. More...
 
const PartID PART_DISPLAY = (PartID)DISP_ATTRIB_CHANNEL
 See DISP_ATTRIB_CHANNEL. More...
 
const PartID PART_VERTCOLOR = (PartID)VERTCOLOR_CHANNEL
 See VERTCOLOR_CHANNEL. More...
 
const PartID PART_GFX_DATA = (PartID)GFX_DATA_CHANNEL
 See GFX_DATA_CHANNEL. More...
 
const PartID PART_DISP_APPROX = (PartID)DISP_APPROX_CHANNEL
 See DISP_APPROX_CHANNEL. More...
 
const PartID PART_EXTENSION = (PartID)EXTENSION_CHANNEL
 See EXTENSION_CHANNEL. More...
 
const PartID PART_TM_CHAN = (PartID)TM_CHANNEL
 Transform Channel. More...
 
const PartID PART_MTL_CHAN = (PartID)GLOBMTL_CHANNEL
 Material Channel. More...
 
const PartID PART_OBJECT_TYPE = (PartID)(1<<11)
 The type of object in the pipeline changed. More...
 
const PartID PART_TM = (PartID)(1<<12)
 node transform matrix More...
 
const PartID PART_OBJ = (PartID)(PART_TOPO|PART_GEOM)
 Combination of PART_TOPO and PART_GEOM. More...
 
const PartID PART_ALL = (PartID)(ALL_CHANNELS|PART_TM)
 Combination of ALL_CHANNELS and PART_TM. More...
 

Node Global Illumination Property PartIDs

Part IDs sent with the \ref REFMSG_NODE_GI_PROP_CHANGED message.   
const PartID PART_GI_EXCLUDED = (PartID)(1<<0)
 Excluded. More...
 
const PartID PART_GI_OCCLUDER = (PartID)(1<<1)
 Excluder. More...
 
const PartID PART_GI_RECEIVER = (PartID)(1<<2)
 Receiver. More...
 
const PartID PART_GI_DIFFUSE = (PartID)(1<<3)
 Diffuse. More...
 
const PartID PART_GI_SPECULAR = (PartID)(1<<4)
 Specular. More...
 
const PartID PART_GI_NBREFINESTEPS = (PartID)(1<<5)
 Refine Steps. More...
 
const PartID PART_GI_MESHSIZE = (PartID)(1<<6)
 Mesh Size. More...
 
const PartID PART_GI_MESHINGENABLED = (PartID)(1<<7)
 Meshing Enabled. More...
 
const PartID PART_GI_USEGLOBALMESHING = (PartID)(1<<8)
 Use Global Meshing. More...
 
const PartID PART_GI_EXCLUDEFROMREGATHERING = (PartID)(1<<9)
 Exclude From Regathering. More...
 
const PartID PART_GI_STOREILLUMMESH = (PartID)(1<<10)
 Store Illumination Mesh. More...
 
const PartID PART_GI_RAYMULT = (PartID)(1<<11)
 Ray Multiplier. More...
 
const PartID PART_GI_USE_ADAPTIVE_SUBDIVISION = (PartID)(1<<12)
 Use Adaptive Subdivision. More...
 
const PartID PART_GI_MIN_MESH_SIZE = (PartID)(1<<13)
 Minium Mesh size. More...
 
const PartID PART_GI_INITIAL_MESH_SIZE = (PartID)(1<<14)
 Initial Mesh size. More...
 
const PartID PART_GI_CONTRAST_THRESHOLD = (PartID)(1<<15)
 Contrast Threshold. More...
 

Node Render Property PartIDs

Sent with REFMSG_NODE_RENDERING_PROP_CHANGED

const PartID PART_REND_PROP_RENDERABLE = (PartID)(1<<0)
 Renderable. More...
 
const PartID PART_REND_PROP_CAST_SHADOW = (PartID)(1<<1)
 Cast Shadow. More...
 
const PartID PART_REND_PROP_RCV_SHADOW = (PartID)(1<<2)
 Recieve Shadow. More...
 
const PartID PART_REND_PROP_RENDER_OCCLUDED = (PartID)(1<<3)
 Render Occluded. More...
 
const PartID PART_REND_PROP_VISIBILITY = (PartID)(1<<4)
 Visibility. More...
 
const PartID PART_REND_PROP_INHERIT_VIS = (PartID)(1<<5)
 Inherit Visibility. More...
 
const PartID PART_REND_PROP_PRIMARY_INVISIBILITY = (PartID)(1<<6)
 Primary Visibility. More...
 
const PartID PART_REND_PROP_SECONDARY_INVISIBILITY = (PartID)(1<<7)
 Secondary Visibility. More...
 

PartIDs for Changing Display Properties

PartIDs sent with the REFMSG_NODE_DISPLAY_PROP_CHANGED message.

const PartID PART_DISP_PROP_IS_HIDDEN = (PartID)(1<<0)
 Is hidden. More...
 
const PartID PART_DISP_PROP_IS_FROZEN = (PartID)(1<<1)
 Is frozen. More...
 
const PartID PART_DISP_PROP_SHOW_FRZN_WITH_MTL = (PartID)(1<<2)
 Show frozen with material. More...
 
const PartID PART_DISP_PROP_BOX_MODE = (PartID)(1<<3)
 Box mode. More...
 
const PartID PART_DISP_PROP_BACKCULL = (PartID)(1<<4)
 Backface culling. More...
 
const PartID PART_DISP_PROP_ALL_EDGES = (PartID)(1<<5)
 All edges. More...
 
const PartID PART_DISP_PROP_BONE_ONLY = (PartID)(1<<6)
 Bones only. More...
 
const PartID PART_DISP_PROP_BONE_AS_LINE = (PartID)(1<<7)
 Bones as lines. More...
 
const PartID PART_DISP_PROP_SHOW_PATH = (PartID)(1<<8)
 Show path. More...
 
const PartID PART_DISP_PROP_VERT_TICKS = (PartID)(1<<9)
 Vertex ticks. More...
 
const PartID PART_DISP_PROP_XRAY_MTL = (PartID)(1<<10)
 XRay material. More...
 
const PartID PART_DISP_PROP_IGNORE_EXTENTS = (PartID)(1<<11)
 Ignore extents. More...
 
const PartID PART_DISP_PROP_COLOR_VERTS = (PartID)(1<<12)
 Vertex colors. More...
 

Miscellaneous PartIDs

const PartID PART_EXCLUDE_RADIOSITY = (PartID)(1<<29)
 Special part ID that prevents the radiosity engine from processing the change. More...
 
const PartID PART_HIDESTATE = (PartID)(1<<30)
 Special part ID sent by visibility controllers. More...
 
const PartID PART_MXS_PROPCHANGE = (PartID)(1<<16)
 Special part ID sent by MAXScript when it changes an object's parameter. More...
 

PartIDs when notify dependents is called with REFMSG_FLAGDEPENDENTS

See also
REFMSG_FLAGDEPENDENTS
const PartID PART_PUT_IN_FG = (PartID)(1<<0)
 Put in Foreground. More...
 
const PartID PART_SHOW_DEPENDENCIES = (PartID)(1<<1)
 Show dependencies. More...
 
const PartID PART_SHOWDEP_ON = (PartID)(1<<2)
 Show dependencies on. More...
 

Typedef Documentation

typedef ULONG_PTR PartID

This is NOT just a bitmask, the parameter is also used to stuff pointers, hence the ULONG_PTR.

Variable Documentation

const PartID PART_TOPO = (PartID)TOPO_CHANNEL
const PartID PART_GEOM = (PartID)GEOM_CHANNEL
const PartID PART_TEXMAP = (PartID)TEXMAP_CHANNEL
const PartID PART_MTL = (PartID)MTL_CHANNEL
const PartID PART_SELECT = (PartID)SELECT_CHANNEL
const PartID PART_SUBSEL_TYPE = (PartID)SUBSEL_TYPE_CHANNEL
const PartID PART_VERTCOLOR = (PartID)VERTCOLOR_CHANNEL
const PartID PART_GFX_DATA = (PartID)GFX_DATA_CHANNEL
const PartID PART_DISP_APPROX = (PartID)DISP_APPROX_CHANNEL
const PartID PART_EXTENSION = (PartID)EXTENSION_CHANNEL
const PartID PART_TM_CHAN = (PartID)TM_CHANNEL

Transform Channel.

const PartID PART_MTL_CHAN = (PartID)GLOBMTL_CHANNEL

Material Channel.

const PartID PART_OBJECT_TYPE = (PartID)(1<<11)

The type of object in the pipeline changed.

const PartID PART_TM = (PartID)(1<<12)

node transform matrix

const PartID PART_OBJ = (PartID)(PART_TOPO|PART_GEOM)

Combination of PART_TOPO and PART_GEOM.

const PartID PART_ALL = (PartID)(ALL_CHANNELS|PART_TM)

Combination of ALL_CHANNELS and PART_TM.

const PartID PART_GI_EXCLUDED = (PartID)(1<<0)

Excluded.

const PartID PART_GI_OCCLUDER = (PartID)(1<<1)

Excluder.

const PartID PART_GI_RECEIVER = (PartID)(1<<2)

Receiver.

const PartID PART_GI_DIFFUSE = (PartID)(1<<3)

Diffuse.

const PartID PART_GI_SPECULAR = (PartID)(1<<4)

Specular.

const PartID PART_GI_NBREFINESTEPS = (PartID)(1<<5)

Refine Steps.

const PartID PART_GI_MESHSIZE = (PartID)(1<<6)

Mesh Size.

const PartID PART_GI_MESHINGENABLED = (PartID)(1<<7)

Meshing Enabled.

const PartID PART_GI_USEGLOBALMESHING = (PartID)(1<<8)

Use Global Meshing.

const PartID PART_GI_EXCLUDEFROMREGATHERING = (PartID)(1<<9)

Exclude From Regathering.

const PartID PART_GI_STOREILLUMMESH = (PartID)(1<<10)

Store Illumination Mesh.

const PartID PART_GI_RAYMULT = (PartID)(1<<11)

Ray Multiplier.

const PartID PART_GI_USE_ADAPTIVE_SUBDIVISION = (PartID)(1<<12)

Use Adaptive Subdivision.

const PartID PART_GI_MIN_MESH_SIZE = (PartID)(1<<13)

Minium Mesh size.

const PartID PART_GI_INITIAL_MESH_SIZE = (PartID)(1<<14)

Initial Mesh size.

const PartID PART_GI_CONTRAST_THRESHOLD = (PartID)(1<<15)

Contrast Threshold.

const PartID PART_REND_PROP_RENDERABLE = (PartID)(1<<0)

Renderable.

const PartID PART_REND_PROP_CAST_SHADOW = (PartID)(1<<1)

Cast Shadow.

const PartID PART_REND_PROP_RCV_SHADOW = (PartID)(1<<2)

Recieve Shadow.

const PartID PART_REND_PROP_RENDER_OCCLUDED = (PartID)(1<<3)

Render Occluded.

const PartID PART_REND_PROP_VISIBILITY = (PartID)(1<<4)

Visibility.

const PartID PART_REND_PROP_INHERIT_VIS = (PartID)(1<<5)

Inherit Visibility.

const PartID PART_REND_PROP_PRIMARY_INVISIBILITY = (PartID)(1<<6)

Primary Visibility.

const PartID PART_REND_PROP_SECONDARY_INVISIBILITY = (PartID)(1<<7)

Secondary Visibility.

const PartID PART_DISP_PROP_IS_HIDDEN = (PartID)(1<<0)

Is hidden.

const PartID PART_DISP_PROP_IS_FROZEN = (PartID)(1<<1)

Is frozen.

const PartID PART_DISP_PROP_SHOW_FRZN_WITH_MTL = (PartID)(1<<2)

Show frozen with material.

const PartID PART_DISP_PROP_BOX_MODE = (PartID)(1<<3)

Box mode.

const PartID PART_DISP_PROP_BACKCULL = (PartID)(1<<4)

Backface culling.

const PartID PART_DISP_PROP_ALL_EDGES = (PartID)(1<<5)

All edges.

const PartID PART_DISP_PROP_BONE_ONLY = (PartID)(1<<6)

Bones only.

const PartID PART_DISP_PROP_BONE_AS_LINE = (PartID)(1<<7)

Bones as lines.

const PartID PART_DISP_PROP_SHOW_PATH = (PartID)(1<<8)

Show path.

const PartID PART_DISP_PROP_VERT_TICKS = (PartID)(1<<9)

Vertex ticks.

const PartID PART_DISP_PROP_XRAY_MTL = (PartID)(1<<10)

XRay material.

const PartID PART_DISP_PROP_IGNORE_EXTENTS = (PartID)(1<<11)

Ignore extents.

const PartID PART_DISP_PROP_COLOR_VERTS = (PartID)(1<<12)

Vertex colors.

const PartID PART_EXCLUDE_RADIOSITY = (PartID)(1<<29)

Special part ID that prevents the radiosity engine from processing the change.

const PartID PART_HIDESTATE = (PartID)(1<<30)

Special part ID sent by visibility controllers.

Sent when they change the hidden in viewport state. Sent with REFMSG_CHANGE message.

const PartID PART_MXS_PROPCHANGE = (PartID)(1<<16)

Special part ID sent by MAXScript when it changes an object's parameter.

Sent with REFMSG_CHANGE message

const PartID PART_PUT_IN_FG = (PartID)(1<<0)

Put in Foreground.

const PartID PART_SHOW_DEPENDENCIES = (PartID)(1<<1)

Show dependencies.

const PartID PART_SHOWDEP_ON = (PartID)(1<<2)

Show dependencies on.