예제 #1
0
        private static void BuildJointDataNodes(TreeNode parent, UInt32 offset)
        {
            var newJointDataNode = new JointDataNode(file, offset);

            var newTreeNode = new TreeNode("JointDataNode");

            newTreeNode.Tag = newJointDataNode;
            parent.Nodes.Add(newTreeNode);

            if (newJointDataNode.materialNodeOffset0x8 != 0)
            {
                BuildMaterialNodes(newTreeNode, newJointDataNode.materialNodeOffset0x8 + dataOffset);
            }

            if (newJointDataNode.nextOffset0x4 != 0)
            {
                BuildJointDataNodes(parent, newJointDataNode.nextOffset0x4 + dataOffset);
            }
        }
예제 #2
0
        private static void BuildJointDataNodes(TreeNode parent, UInt32 offset)
        {
            var newJointDataNode = new JointDataNode(file, offset);

            var newTreeNode = new TreeNode("JointDataNode");
            newTreeNode.Tag = newJointDataNode;
            parent.Nodes.Add(newTreeNode);

            if (newJointDataNode.materialNodeOffset0x8 != 0)
            {
                BuildMaterialNodes(newTreeNode, newJointDataNode.materialNodeOffset0x8 + dataOffset);
            }

            if (newJointDataNode.nextOffset0x4 != 0)
            {
                BuildJointDataNodes(parent, newJointDataNode.nextOffset0x4 + dataOffset);
            }
        }