public override int GetHashCode() { unchecked { var hashCode = (TextureCoords != null ? TextureCoords.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TextureGlobalPosition != null ? TextureGlobalPosition.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (HeightmapResolution != null ? HeightmapResolution.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (_queryArea != null ? _queryArea.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (_resolution != null ? _resolution.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)_type; hashCode = (hashCode * 397) ^ (int)_mergeStatus; return(hashCode); } }