NOTICE: Google Maps Platform gaming services is deprecated as of October 18, 2021. Current users will have continued access until December 31, 2022. During this time, we will continue to provide support and fixes to major bugs and outages. See the Gaming Services Transition Guide for resources to help you plan the next steps for your projects.

Google.Maps.Util.GeometryUtils.Vector3Comparer

An equality comparer for Vector3 objects that uses the == operator.

Summary

Using the == operator results in epsilon comparison. The == operator documentation states: two vectors are considered equal if the magnitude of their difference is less than 1e-5.

Inheritance

Inherits from: IEqualityComparer< Vector3 >

Public static attributes

Default = new Vector3Comparer()
readonly Vector3Comparer
Default singleton.

Public functions

Equals(Vector3 x, Vector3 y)
bool
GetHashCode(Vector3 obj)
int

Public static attributes

Default

readonly Vector3Comparer Default = new Vector3Comparer()

Default singleton.

Public functions

Equals

bool Equals(
  Vector3 x,
  Vector3 y
)

GetHashCode

int GetHashCode(
  Vector3 obj
)