示例#1
0
 public Sync(float time, Vector3Wrapper pos, Vector3Wrapper velocity, QuaternionWrapper rot)
 {
     this.time     = time;
     this.pos      = pos;
     this.velocity = velocity;
     this.rot      = rot;
 }
示例#2
0
        public override void ReadFromFile(MemoryStream stream, bool isBigEndian)
        {
            base.ReadFromFile(stream, isBigEndian);
            Unk0 = stream.ReadUInt32(isBigEndian);

            RotationWrapper0 = new QuaternionWrapper();
            RotationWrapper0.ReadFromFile(stream, isBigEndian);
            RotationWrapper1 = new QuaternionWrapper();
            RotationWrapper1.ReadFromFile(stream, isBigEndian);
            RotationWrapper2 = new QuaternionWrapper();
            RotationWrapper2.ReadFromFile(stream, isBigEndian);

            Unk1 = stream.ReadUInt16(isBigEndian);
        }
示例#3
0
 public SpinnerSync(float time, QuaternionWrapper rot)
 {
     this.time = time;
     this.rot  = rot;
 }