Beispiel #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_format = new hkVertexFormat();
     m_format.Read(des, br);
     m_elementOffsets_0  = br.ReadInt32();
     m_elementOffsets_1  = br.ReadInt32();
     m_elementOffsets_2  = br.ReadInt32();
     m_elementOffsets_3  = br.ReadInt32();
     m_elementOffsets_4  = br.ReadInt32();
     m_elementOffsets_5  = br.ReadInt32();
     m_elementOffsets_6  = br.ReadInt32();
     m_elementOffsets_7  = br.ReadInt32();
     m_elementOffsets_8  = br.ReadInt32();
     m_elementOffsets_9  = br.ReadInt32();
     m_elementOffsets_10 = br.ReadInt32();
     m_elementOffsets_11 = br.ReadInt32();
     m_elementOffsets_12 = br.ReadInt32();
     m_elementOffsets_13 = br.ReadInt32();
     m_elementOffsets_14 = br.ReadInt32();
     m_elementOffsets_15 = br.ReadInt32();
     m_elementOffsets_16 = br.ReadInt32();
     m_elementOffsets_17 = br.ReadInt32();
     m_elementOffsets_18 = br.ReadInt32();
     m_elementOffsets_19 = br.ReadInt32();
     m_elementOffsets_20 = br.ReadInt32();
     m_elementOffsets_21 = br.ReadInt32();
     m_elementOffsets_22 = br.ReadInt32();
     m_elementOffsets_23 = br.ReadInt32();
     m_elementOffsets_24 = br.ReadInt32();
     m_elementOffsets_25 = br.ReadInt32();
     m_elementOffsets_26 = br.ReadInt32();
     m_elementOffsets_27 = br.ReadInt32();
     m_elementOffsets_28 = br.ReadInt32();
     m_elementOffsets_29 = br.ReadInt32();
     m_elementOffsets_30 = br.ReadInt32();
     m_elementOffsets_31 = br.ReadInt32();
     br.ReadUInt32();
     m_memory       = des.ReadByteArray(br);
     m_vertexStride = br.ReadInt32();
     m_locked       = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_numVertices = br.ReadInt32();
     m_isBigEndian = br.ReadBoolean();
     m_isSharable  = br.ReadBoolean();
     br.ReadUInt16();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_vertexFormat = new hkVertexFormat();
     m_vertexFormat.Read(des, br);
     br.ReadUInt32();
     m_lockedElements = des.ReadClassArray<hkMultipleVertexBufferLockedElement>(br);
     m_lockedBuffer = des.ReadClassPointer<hkMemoryMeshVertexBuffer>(br);
     m_elementInfos = des.ReadClassArray<hkMultipleVertexBufferElementInfo>(br);
     m_vertexBufferInfos = des.ReadClassArray<hkMultipleVertexBufferVertexBufferInfo>(br);
     m_numVertices = br.ReadInt32();
     m_isLocked = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_updateCount = br.ReadUInt32();
     m_writeLock = br.ReadBoolean();
     m_isSharable = br.ReadBoolean();
     m_constructionComplete = br.ReadBoolean();
     br.ReadByte();
 }