Пример #1
0
        public VoxLib(String VXLName, String HVAName)
        {
            MotLib = new HVA(FileSystem.LoadFile(HVAName));
            Voxel = new VXL(FileSystem.LoadFile(VXLName));
            Frame = 0;

            Voxel.SetHVA(MotLib);
        }
Пример #2
0
        public VoxLib(String VXLName, String HVAName)
        {
            MotLib = new HVA(FileSystem.LoadFile(HVAName));
            Voxel  = new VXL(FileSystem.LoadFile(VXLName));
            Frame  = 0;

            Voxel.SetHVA(MotLib);
        }
Пример #3
0
            public bool ReadFile(ArraySegment <byte> input)
            {
                var offs = input.Offset;

                id = VXL.ReadCString(input, 16);

                LimbNumber = BitConverter.ToUInt32(input.Array, offs + 16);
                unknown1   = BitConverter.ToUInt32(input.Array, offs + 20);
                unknown2   = input.Array[offs + 24];

                return(true);
            }
Пример #4
0
            public bool ReadFile(ArraySegment <byte> input)
            {
                var offs = input.Offset;

                id = VXL.ReadCString(input, 16);

                PaletteCount = BitConverter.ToUInt32(input.Array, offs + 16);
                HeaderCount  = BitConverter.ToUInt32(input.Array, offs + 20);
                TailerCount  = BitConverter.ToUInt32(input.Array, offs + 24);
                BodySize     = BitConverter.ToUInt32(input.Array, offs + 28);

                return(true);
            }