public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_material = new hkpMaterial();
     m_material.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt32();
     m_damageMultiplier = br.ReadSingle();
     br.ReadUInt64();
     br.ReadUInt64();
     m_storageIndex = br.ReadUInt16();
     m_contactPointCallbackDelay = br.ReadUInt16();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     m_autoRemoveLevel = br.ReadSByte();
     m_numShapeKeysInContactPointProperties = br.ReadByte();
     m_responseModifierFlags = br.ReadByte();
     br.ReadByte();
     m_uid = br.ReadUInt32();
     m_spuCollisionCallback = new hkpEntitySpuCollisionCallback();
     m_spuCollisionCallback.Read(des, br);
     br.ReadUInt64();
     m_motion = new hkpMaxSizeMotion();
     m_motion.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     m_localFrame = des.ReadClassPointer <hkLocalFrame>(br);
     br.ReadUInt64();
     m_npData = br.ReadUInt32();
     br.ReadUInt64();
     br.ReadUInt32();
 }
Beispiel #2
0
 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();
 }