Beispiel #1
0
        public void ReadFromFile(BinaryReader reader)
        {
            Unk0 = reader.ReadUInt32();
            Unk1 = reader.ReadUInt32();

            OptimizedTransform = new FxBoneTransform();
            OptimizedTransform.ReadFromFile(reader);
        }
Beispiel #2
0
        public void ReadFromFile(BinaryReader reader)
        {
            PossibleIdx = reader.ReadUInt32();
            Transform   = new FxBoneTransform();
            Transform.ReadFromFile(reader);
            UnkQuaternion = reader.ReadBytes(16);
            PossibleIdx2  = reader.ReadUInt32();
            Unk0          = reader.ReadSingle();

            uint NumLinks = reader.ReadUInt32();

            Links = new FxBoneLink[NumLinks];
            for (int i = 0; i < NumLinks; i++)
            {
                FxBoneLink LinkObject = new FxBoneLink();
                LinkObject.ReadFromFile(reader);
                Links[i] = LinkObject;
            }
        }