Exemple #1
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteInt32(m_desiredFacesPerCluster);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     m_searchParameters.Write(s, bw);
     m_agentInfo.Write(s, bw);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4(bw, m_startPoint);
     s.WriteVector4Array(bw, m_goalPoints);
     bw.WriteUInt32(m_startFaceKey);
     bw.WriteUInt32(0);
     s.WriteUInt32Array(bw, m_goalFaceKeys);
     bw.WriteInt32(m_maxNumberOfIterations);
     m_agentInfo.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     m_searchParameters.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }