コード例 #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_originalMesh = des.ReadClassPointer <hclSetupMesh>(br);
     m_mergeOptions = new hclSimulationSetupMeshMapOptions();
     m_mergeOptions.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
コード例 #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_name         = des.ReadStringPointer(br);
     m_setupMesh    = des.ReadClassPointer <hclSetupMesh>(br);
     m_storeNormals = br.ReadBoolean();
     m_storeTangentsAndBiTangents = br.ReadBoolean();
     m_storeTriangles             = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadByte();
 }
コード例 #3
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_parentSetupMesh         = des.ReadClassPointer <hclSetupMesh>(br);
     m_vertices                = des.ReadVector4Array(br);
     m_normals                 = des.ReadVector4Array(br);
     m_tangents                = des.ReadVector4Array(br);
     m_bitangents              = des.ReadVector4Array(br);
     m_triangles               = des.ReadClassArray <hclSetupMeshSectionTriangle>(br);
     m_sectionVertexChannels   = des.ReadClassPointerArray <hclStorageSetupMeshSectionSectionVertexChannel>(br);
     m_sectionEdgeChannels     = des.ReadClassPointerArray <hclStorageSetupMeshSectionSectionEdgeSelectionChannel>(br);
     m_sectionTriangleChannels = des.ReadClassPointerArray <hclStorageSetupMeshSectionSectionTriangleSelectionChannel>(br);
     m_boneInfluences          = des.ReadClassPointerArray <hclStorageSetupMeshSectionBoneInfluences>(br);
     m_normalIDs               = des.ReadUInt16Array(br);
 }
コード例 #4
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_setupMesh = des.ReadClassPointer <hclSetupMesh>(br);
     m_name      = des.ReadStringPointer(br);
 }