MCPcopy Create free account
hub / github.com/H-uru/Plasma / NumAttachedComponents

Method NumAttachedComponents

Sources/MaxPlugin/MaxMain/plMaxNodeBase.cpp:534–555  ·  view source on GitHub ↗

There isn't an easy way to determine if there are any components attached to a node. This method goes through the reflist of a node and backtracks up each ref (using IRefMakerToComponent) to determine if it is a component. There are cases though where a component can show up as two or more refs to a node, when it has a legitimate target ref and some other ref like a proxy object. To catch this c

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

NodeHasSystemMethod · 0.80
ConvertMethod · 0.80
GetSavedCompMethod · 0.80
IAddChildrenMethod · 0.80
GetWaveSetFromNodeMethod · 0.80
GetEnvMapComponentMethod · 0.80
ConvertMethod · 0.80
ISetLimitPanMethod · 0.80
ISetLimitZoomMethod · 0.80
ISetIgnoreSubworldMethod · 0.80

Calls 3

beginMethod · 0.80
NextMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected