internal void Write(ParameterTreeWriter writer)
        {
            writer.Write("type", Type);
            writer.Write("radius", Radius);

            writer.PushScope("bone");
            {
                writer.PushScope(0);
                {
                    Bone0.Write(writer);
                }
                writer.PopScope();

                writer.PushScope(1);
                {
                    Bone1.Write(writer);
                }
                writer.PopScope();
            }
            writer.PopScope();
        }
        internal void Read(ParameterTree tree)
        {
            Type   = tree.Get <uint>("type");
            Radius = tree.Get <float>("radius");

            if (tree.OpenScope("bone"))
            {
                if (tree.OpenScope(0))
                {
                    Bone0.Read(tree);
                    tree.CloseScope();
                }

                if (tree.OpenScope(1))
                {
                    Bone1.Read(tree);
                    tree.CloseScope();
                }

                tree.CloseScope();
            }
        }