예제 #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);
        }
예제 #2
0
 public void EnumAttributes(ISerializeInfo info)
 {
     info.SerializeFloatArray(ref tr);
     info.SerializeInt(ref mesh);
     info.SerializeIntArray(ref mats);
 }
예제 #3
0
 public void EnumAttributes(ISerializeInfo info)
 {
     info.SerializeInt(ref topology);
     info.SerializeIntArray(ref indices);
 }