Esempio n. 1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_boundingVolumeShape = des.ReadClassPointer <hkpShape>(br);
     m_childShape          = new hkpSingleShapeContainer();
     m_childShape.Read(des, br);
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_shape    = des.ReadClassPointer <hkpShape>(br);
     m_shapeKey = br.ReadUInt32();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
 }
Esempio n. 3
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_shape          = des.ReadClassPointer <hkpShape>(br);
     m_shapeTransform = des.ReadTransform(br);
     m_geometry       = new hkGeometry();
     m_geometry.Read(des, br);
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_transform           = des.ReadQSTransform(br);
     m_shape               = des.ReadClassPointer <hkpShape>(br);
     m_filterInfo          = br.ReadUInt32();
     m_childFilterInfoMask = br.ReadUInt32();
     m_userData            = br.ReadUInt64();
     br.ReadUInt64();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_shape = des.ReadClassPointer <hkpShape>(br);
     m_collisionFilterInfo = br.ReadUInt32();
     m_shapeInfo           = br.ReadUInt16();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt16();
 }
Esempio n. 6
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_shape = des.ReadClassPointer <hkpShape>(br);
     m_isHierarchicalCompound = br.ReadBoolean();
     m_hkdShapesCollected     = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     m_childShapeNames = des.ReadStringPointerArray(br);
     m_childTransforms = des.ReadTransformArray(br);
     m_transform       = des.ReadTransform(br);
 }
Esempio n. 7
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_collisionFilterInfo = br.ReadUInt32();
     br.ReadUInt32();
     m_shape                   = des.ReadClassPointer <hkpShape>(br);
     m_position                = des.ReadVector4(br);
     m_rotation                = des.ReadQuaternion(br);
     m_mass                    = br.ReadSingle();
     m_friction                = br.ReadSingle();
     m_maxLinearVelocity       = br.ReadSingle();
     m_allowedPenetrationDepth = br.ReadSingle();
     m_up       = des.ReadVector4(br);
     m_maxSlope = br.ReadSingle();
     m_maxForce = br.ReadSingle();
     m_unweldingHeightOffsetFactor = br.ReadSingle();
     m_maxSpeedForSimplexSolver    = br.ReadSingle();
     m_supportDistance             = br.ReadSingle();
     m_hardSupportDistance         = br.ReadSingle();
     m_vdbColor = br.ReadInt32();
     br.ReadUInt32();
 }
Esempio n. 8
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_childShape = des.ReadClassPointer <hkpShape>(br);
 }