3ds Max C++ API Reference
Loading...
Searching...
No Matches
MaxRefEntryDataEx Struct Reference

A struct to allow us to expose even more node and layer information. More...

#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/include/maxapi.h>

Inheritance diagram for MaxRefEntryDataEx:

Public Member Functions

bool arraysEqual (const MaxRefEntryDataEx otherData)
bool operator== (const MaxRefEntryDataEx &otherData)
Public Member Functions inherited from MaxRefEntryData
bool operator== (const MaxRefEntryData otherData)

Public Attributes

SClass_ID nodeSuperClassID = 0
bool isBoneNode = false
bool isGroupHead = false
bool isGroupMember = false
Tab< ULONG > nodeDependentNodeHandles
bool isFakeNode = false
DWORD nodeColor
Public Attributes inherited from MaxRefEntryData
MaxRefEntryDataType type
MSTR nodeName
ULONG nodeHandle = 0
ULONG parentNodeHandle = 0
int nodeLevel = -1
MSTR nodeLayerName
MSTR layerName
MSTR parentLayerName
bool hasParentLayer = false

Additional Inherited Members

Public Types inherited from MaxRefEntryData
enum  MaxRefEntryDataType { Node , Layer }

Detailed Description

A struct to allow us to expose even more node and layer information.

Use with Interface::MergeFromFile's dataList parameter when the dupAction parameter is set to MERGE_LIST_ALL_EX

Member Function Documentation

◆ arraysEqual()

bool arraysEqual ( const MaxRefEntryDataEx otherData)
inline
179 {
181 return false;
182 for (int i = 0; i < nodeDependentNodeHandles.Count(); i++)
183 {
185 return false;
186 }
187 return true;
188 }
int Count() const
Retrieves the number of items in the Tab.
Definition tab.h:232
Tab< ULONG > nodeDependentNodeHandles
Definition maxapi.h:174

◆ operator==()

bool operator== ( const MaxRefEntryDataEx & otherData)
inline
190 {
191 return __super::operator==(otherData) && nodeSuperClassID == otherData.nodeSuperClassID &&
192 isBoneNode == otherData.isBoneNode && isGroupHead == otherData.isGroupHead &&
193 isGroupMember == otherData.isGroupMember && nodeColor == otherData.nodeColor &&
194 arraysEqual(otherData);
195 }
bool isBoneNode
Definition maxapi.h:171
bool isGroupHead
Definition maxapi.h:172
bool isGroupMember
Definition maxapi.h:173
SClass_ID nodeSuperClassID
Definition maxapi.h:170
bool arraysEqual(const MaxRefEntryDataEx otherData)
Definition maxapi.h:178
DWORD nodeColor
Definition maxapi.h:177

Member Data Documentation

◆ nodeSuperClassID

SClass_ID nodeSuperClassID = 0

◆ isBoneNode

bool isBoneNode = false

◆ isGroupHead

bool isGroupHead = false

◆ isGroupMember

bool isGroupMember = false

◆ nodeDependentNodeHandles

Tab<ULONG> nodeDependentNodeHandles

◆ isFakeNode

bool isFakeNode = false

◆ nodeColor

DWORD nodeColor