Ejemplo n.º 1
0
        public void LoadFrom(Stream stream)
        {
            BinaryReader reader = new BinaryReader(stream);

            m_Path         = reader.ReadNameA4();
            m_Times        = new PackedBitVector2(stream);
            m_Values       = new PackedBitVector3(stream);
            m_Slopes       = new PackedBitVector(stream);
            m_PreInfinity  = reader.ReadInt32();
            m_PostInfinity = reader.ReadInt32();
        }
Ejemplo n.º 2
0
        public CompressedAnimationCurve(Stream stream)
        {
            BinaryReader reader = new BinaryReader(stream);

            m_Path         = reader.ReadNameA4U8();
            m_Times        = new PackedBitVector2(stream);
            m_Values       = new PackedBitVector3(stream);
            m_Slopes       = new PackedBitVector(stream);
            m_PreInfinity  = reader.ReadInt32();
            m_PostInfinity = reader.ReadInt32();
        }