Hugin .NET API Reference Library
SwitchParent Method (oldParent, newParent)
Namespaces > HAPI > Node > SwitchParent(Node, Node)
Replace the given parent node with the new node.
Syntax
C#Visual BasicManaged C++
public void SwitchParent (
	Node oldParent,
	Node newParent
)
Public Sub SwitchParent ( _
	oldParent As Node, _
	newParent As Node _
)
public:
void SwitchParent (
	Node^ oldParent, 
	Node^ newParent
)
Parameters
oldParent (Node)
The old parent
newParent (Node)
The new parent
Remarks
The old and new parent must be compatible. That is, they must be of the same class, and have an identical state set.
Exceptions
ExceptionCondition
ExceptionHugin

Assembly: hugincs-8.6-2.0-x64 (Module: hugincs-8.6-2.0-x64)