コード例 #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_skin = des.ReadClassPointer <hkMeshShape>(br);
     m_worldFromBoneTransforms = des.ReadMatrix4Array(br);
     m_boneNames = des.ReadStringPointerArray(br);
 }
コード例 #2
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_meshBuffer     = des.ReadClassPointer <hkMeshShape>(br);
     m_startBoneSetId = br.ReadUInt16();
     m_numBoneSets    = br.ReadInt16();
     br.ReadUInt32();
 }
コード例 #3
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_transform     = des.ReadMatrix4(br);
     m_transformSet  = des.ReadClassPointer <hkIndexedTransformSet>(br);
     m_shape         = des.ReadClassPointer <hkMeshShape>(br);
     m_vertexBuffers = des.ReadClassPointerArray <hkMeshVertexBuffer>(br);
     m_name          = des.ReadStringPointer(br);
     br.ReadUInt64();
 }