Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetHashCode()

Returns the hash code for this resolution.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public override int GetHashCode()

Returns

Type

Description

intHash code of the resolution.

Remarks

The hash code is computed from the width, height, and refresh rate, so resolutions that are equal have equal hash codes.