public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); br.ReadUInt64(); m_motionState = new hkMotionState(); m_motionState.Read(des, br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_type = (MotionType)br.ReadByte(); m_deactivationIntegrateCounter = br.ReadByte(); m_deactivationNumInactiveFrames_0 = br.ReadUInt16(); m_deactivationNumInactiveFrames_1 = br.ReadUInt16(); br.ReadUInt64(); br.ReadUInt16(); m_motionState = new hkMotionState(); m_motionState.Read(des, br); m_inertiaAndMassInv = des.ReadVector4(br); m_linearVelocity = des.ReadVector4(br); m_angularVelocity = des.ReadVector4(br); m_deactivationRefPosition_0 = des.ReadVector4(br); m_deactivationRefPosition_1 = des.ReadVector4(br); m_deactivationRefOrientation_0 = br.ReadUInt32(); m_deactivationRefOrientation_1 = br.ReadUInt32(); m_savedMotion = des.ReadClassPointer <hkpMaxSizeMotion>(br); m_savedQualityTypeIndex = br.ReadUInt16(); m_gravityFactor = br.ReadInt16(); br.ReadUInt64(); br.ReadUInt32(); }