Exemple #1
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_desiredFacesPerCluster = br.ReadInt32();
     br.ReadUInt64();
     br.ReadUInt32();
     m_searchParameters = new hkaiNavMeshPathSearchParameters();
     m_searchParameters.Read(des, br);
     m_agentInfo = new hkaiAgentTraversalInfo();
     m_agentInfo.Read(des, br);
     br.ReadUInt64();
 }
Exemple #2
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_startNodeKeys         = des.ReadUInt32Array(br);
     m_initialCosts          = des.ReadSingleArray(br);
     m_goalNodeKeys          = des.ReadUInt32Array(br);
     m_finalCosts            = des.ReadSingleArray(br);
     m_maxNumberOfIterations = br.ReadInt32();
     m_agentInfo             = new hkaiAgentTraversalInfo();
     m_agentInfo.Read(des, br);
     br.ReadUInt32();
     m_searchParameters = new hkaiGraphPathSearchParameters();
     m_searchParameters.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_startPoint   = des.ReadVector4(br);
     m_goalPoints   = des.ReadVector4Array(br);
     m_startCellKey = br.ReadUInt32();
     br.ReadUInt32();
     m_goalCellKeys          = des.ReadUInt32Array(br);
     m_maxNumberOfIterations = br.ReadInt32();
     m_agentInfo             = new hkaiAgentTraversalInfo();
     m_agentInfo.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt32();
     m_searchParameters = new hkaiNavVolumePathSearchParameters();
     m_searchParameters.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
 }
Exemple #4
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_startPoint            = des.ReadVector4(br);
     m_up                    = des.ReadVector4(br);
     m_startFaceKey          = br.ReadUInt32();
     m_maxNumberOfIterations = br.ReadInt32();
     m_agentInfo             = new hkaiAgentTraversalInfo();
     m_agentInfo.Read(des, br);
     m_searchRadius                = br.ReadSingle();
     m_maximumPathLength           = br.ReadSingle();
     m_costModifier                = des.ReadClassPointer <hkaiAstarCostModifier>(br);
     m_edgeFilter                  = des.ReadClassPointer <hkaiAstarEdgeFilter>(br);
     m_outputEdgesOnFailure        = br.ReadBoolean();
     m_projectedRadiusCheck        = br.ReadBoolean();
     m_exactInternalVertexHandling = br.ReadBoolean();
     m_isWallClimbing              = br.ReadBoolean();
     m_mode                  = (QueryMode)br.ReadByte();
     m_userEdgeHandling      = br.ReadByte();
     m_ignoreBackfacingEdges = br.ReadBoolean();
     br.ReadByte();
 }