Node.Merge

Node.Merge method

Detach everything under the node and attach them to current node.

public void Merge(Node node)
ParameterTypeDescription
nodeNode

Examples

The following code shows how to merge two 3D files into one file

Scene scene1 = Scene.FromFile("scene1.fbx");
Scene scene2 = Scene.FromFile("scene2.fbx");
scene1.RootNode.Merge(scene2.RootNode);
scene1.Save("merged.fbx");

See Also