This method of the Direct3dRMFrame Class adds a child frame to a frame hierarchy.
public void addChild(Direct3dRMFrame child);
child | The Direct3dRMFrame object that will be added as a child. |
If the frame being added as a child already has a parent, this method removes it from its previous parent before adding it to the new parent.
To preserve an object's transformation, use the getTransform method to retrieve the object's transformation before using the addChild method. Then, reapply the transformation after the frame is added.