コード例 #1
0
        internal override bool Reconstruct(BlamLib.Blam.CacheFile c)
        {
            bool result = true;

            // recreate the section data
            if (RenderData.Count != 1)
            {
                structure_bsp_cluster_data_block_new cdata;
                RenderData.Add(out cdata);

                result = cdata.Section.Value.Reconstruct(c, SectionInfo.Value, GeometryBlockInfo.Value);
            }

            GeometryBlockInfo.Value.ClearPostReconstruction();

            return(result);
        }