Exemple #1
0
        public void EnumAttributes(ISerializeInfo info)
        {
            int version = VERSION;

            info.SerializeInt(ref version);
            if (version != VERSION)
            {
                throw new NotImplementedException("bad version number " + version);
            }

            info.SerializeFloat(ref time_step);
            info.SerializeObjsArray(ref frames);
            info.SerializeObjsArray(ref materials);
            info.SerializeObjsArray(ref meshes);
            info.SerializeObjsArray(ref gameobjects);
        }
Exemple #2
0
 public void EnumAttributes(ISerializeInfo info)
 {
     info.SerializeFloatArray(ref tr);
     info.SerializeInt(ref mesh);
     info.SerializeIntArray(ref mats);
 }
Exemple #3
0
 public void EnumAttributes(ISerializeInfo info)
 {
     info.SerializeInt(ref topology);
     info.SerializeIntArray(ref indices);
 }