Exemple #1
0
        private void CreateDummyRootNode()
        {
            ChunkNode rootNode = new ChunkNode_823();

            rootNode.Name          = FileName;
            rootNode.ObjectNodeID  = 1;     // No node IDs in #ivo files
            rootNode.ParentNodeID  = ~0;    // No parent
            rootNode.__NumChildren = 0;     // Single object
            rootNode.MatID         = 0;
            rootNode.Transform     = Matrix44.CreateDefaultRootNodeMatrix();
            rootNode.ChunkType     = ChunkTypeEnum.Node;
            RootNode = rootNode;
        }