예제 #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_handle            = des.ReadClassPointer <hkbHandle>(br);
     m_handlePositionOut = des.ReadVector4(br);
     m_handleRotationOut = des.ReadQuaternion(br);
     m_isValidOut        = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_extrapolationTimeStep = br.ReadSingle();
     m_handleChangeSpeed     = br.ReadSingle();
     m_handleChangeMode      = (HandleChangeMode)br.ReadSByte();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_targetPosition        = des.ReadVector4(br);
     m_targetRotation        = des.ReadQuaternion(br);
     m_targetNormal          = des.ReadVector4(br);
     m_targetHandle          = des.ReadClassPointer <hkbHandle>(br);
     m_transformOnFraction   = br.ReadSingle();
     m_normalOnFraction      = br.ReadSingle();
     m_fadeInDuration        = br.ReadSingle();
     m_fadeOutDuration       = br.ReadSingle();
     m_extrapolationTimeStep = br.ReadSingle();
     m_handleChangeSpeed     = br.ReadSingle();
     m_handleChangeMode      = (HandleChangeMode)br.ReadSByte();
     m_fixUp = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
 }