Ejemplo n.º 1
0
    public void Read(BinaryReader br)
    {
        uint nameOffs = br.ReadUInt32();

        mXformOrd    = (eXformOrder)br.ReadByte();
        mRotOrd      = (eRotOrder)br.ReadByte();
        mRotBitInfo  = br.ReadUInt16();
        mPosBitInfo  = br.ReadUInt16();
        mSclBitInfo  = br.ReadUInt16();
        mRotBaseId   = br.ReadInt16();
        mRotSizeId   = br.ReadInt16();
        mPosBaseId   = br.ReadInt16();
        mPosSizeId   = br.ReadInt16();
        mSclBaseId   = br.ReadInt16();
        mSclSizeId   = br.ReadInt16();
        mRotAxisMask = br.ReadByte();
        mPosAxisMask = br.ReadByte();
        mSclAxisMask = br.ReadByte();
        mTrkMask     = (eTrkMask)br.ReadByte();

        br.BaseStream.Seek(nameOffs, SeekOrigin.Begin);
        mName = new NodeName();
        mName.Read(br);
    }
Ejemplo n.º 2
0
    public void Read(BinaryReader br)
    {
        uint nameOffs = br.ReadUInt32();
        mXformOrd = (eXformOrder)br.ReadByte();
        mRotOrd = (eRotOrder)br.ReadByte();
        mRotBitInfo = br.ReadUInt16();
        mPosBitInfo = br.ReadUInt16();
        mSclBitInfo = br.ReadUInt16();
        mRotBaseId = br.ReadInt16();
        mRotSizeId = br.ReadInt16();
        mPosBaseId = br.ReadInt16();
        mPosSizeId = br.ReadInt16();
        mSclBaseId = br.ReadInt16();
        mSclSizeId = br.ReadInt16();
        mRotAxisMask = br.ReadByte();
        mPosAxisMask = br.ReadByte();
        mSclAxisMask = br.ReadByte();
        mTrkMask = (eTrkMask)br.ReadByte();

        br.BaseStream.Seek(nameOffs, SeekOrigin.Begin);
        mName = new NodeName();
        mName.Read(br);
    }