Ejemplo n.º 1
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.lodDist            = this.LodDist;
            this.MetaStructure.flags              = this.Flags;
            this.MetaStructure.specialAttribute   = this.SpecialAttribute;
            this.MetaStructure.bbMin              = this.BbMin;
            this.MetaStructure.bbMax              = this.BbMax;
            this.MetaStructure.bsCentre           = this.BsCentre;
            this.MetaStructure.bsRadius           = this.BsRadius;
            this.MetaStructure.hdTextureDist      = this.HdTextureDist;
            this.MetaStructure.name               = this.Name;
            this.MetaStructure.textureDictionary  = this.TextureDictionary;
            this.MetaStructure.clipDictionary     = this.ClipDictionary;
            this.MetaStructure.drawableDictionary = this.DrawableDictionary;
            this.MetaStructure.physicsDictionary  = this.PhysicsDictionary;
            this.MetaStructure.assetType          = this.AssetType;
            this.MetaStructure.assetName          = this.AssetName;
            this.MetaStructure.extensions         = new Array_StructurePointer();
            this.MetaStructure.timeFlags          = this.TimeFlags;

            MCTimeArchetypeDef.AddEnumAndStructureInfo(mb);

            if (isRoot)
            {
                mb.AddItem(this.MetaName, this.MetaStructure);

                this.Meta = mb.GetMeta();
            }
        }