public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_transform   = des.ReadTransform(br);
     m_children    = des.ReadClassPointerArray <hkLocalFrame>(br);
     m_parentFrame = des.ReadClassPointer <hkLocalFrame>(br);
     m_group       = des.ReadClassPointer <hkLocalFrameGroup>(br);
     m_name        = des.ReadStringPointer(br);
     br.ReadUInt64();
 }
Example #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_frame              = des.ReadClassPointer <hkLocalFrame>(br);
     m_rigidBody          = des.ReadClassPointer <hkReferencedObject>(br);
     m_character          = des.ReadClassPointer <hkbCharacter>(br);
     m_animationBoneIndex = br.ReadInt16();
     br.ReadUInt32();
     br.ReadUInt16();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_shape          = des.ReadClassPointer <hknpShape>(br);
     m_reservedBodyId = br.ReadUInt32();
     m_motionId       = br.ReadUInt32();
     m_qualityId      = br.ReadByte();
     br.ReadByte();
     m_materialId          = br.ReadUInt16();
     m_collisionFilterInfo = br.ReadUInt32();
     m_flags = br.ReadInt32();
     m_collisionLookAheadDistance = br.ReadSingle();
     m_name        = des.ReadStringPointer(br);
     m_userData    = br.ReadUInt64();
     m_position    = des.ReadVector4(br);
     m_orientation = des.ReadQuaternion(br);
     m_spuFlags    = br.ReadByte();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
     m_localFrame = des.ReadClassPointer <hkLocalFrame>(br);
 }
 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();
 }