3ds Max C++ API Reference
Loading...
Searching...
No Matches
Node Reparent Actions

The following represent flags describing the possible actions to be taken regarding reparenting of nodes during a merge operation. More...

Macros

#define MERGE_REPARENT_PROMPT   0
 Prompt user for reparenting action.
 
#define MERGE_REPARENT_ALWAYS   1
 Maintain node hierarchies are maintained when merging nodes.
 
#define MERGE_REPARENT_NEVER   2
 Don't maintain node hierarchies are maintained when merging nodes.
 
#define MERGE_KEEP_SUBTREE   3
 Automatically merge in Children of a node.
 

Detailed Description

The following represent flags describing the possible actions to be taken regarding reparenting of nodes during a merge operation.

These values can be passed to the Interface::MergeFromFile method's reparentAction parameter and other methods as documented.

See also
Interface::MergeFromFile

Macro Definition Documentation

◆ MERGE_REPARENT_PROMPT

#define MERGE_REPARENT_PROMPT   0

Prompt user for reparenting action.

◆ MERGE_REPARENT_ALWAYS

#define MERGE_REPARENT_ALWAYS   1

Maintain node hierarchies are maintained when merging nodes.

◆ MERGE_REPARENT_NEVER

#define MERGE_REPARENT_NEVER   2

Don't maintain node hierarchies are maintained when merging nodes.

Merged nodes become children of the scene's root node.

◆ MERGE_KEEP_SUBTREE

#define MERGE_KEEP_SUBTREE   3

Automatically merge in Children of a node.