コード例 #1
0
    // Detach a node from its current parent and make it an unassigned child of the active container
    public void DetachNode( AT_Node node )
    {
        if (node == null)
        {
            return;
        }

        m_activeContainer.AddChild(node, true);
        node.SetParentBlendWeight(0);

        m_activeContainer.SetDirty();
        node.SetDirty();
    }