Struct Resolution

Screen resolution

Namespace: VoltstroStudios.UnityWebBrowser.Shared
Assembly: VoltstroStudios.UnityWebBrowser.Shared.dll
Syntax
[Serializable]
public struct Resolution

Constructors

| Edit this page View Source

Resolution(uint, uint)

Creates a new Resolution instance

Declaration
public Resolution(uint width, uint height)
Parameters
TypeNameDescription
uintwidth
uintheight

Fields

| Edit this page View Source

Height

Height of the screen

Declaration
public uint Height
Field Value
TypeDescription
uint
| Edit this page View Source

Width

Width of the screen

Declaration
public uint Width
Field Value
TypeDescription
uint

Methods

| Edit this page View Source

Equals(object)

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
objectobj

The object to compare with the current instance.

Returns
TypeDescription
bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

Overrides
ValueType.Equals(object)
| Edit this page View Source

Equals(Resolution)

Does a different Resolution equal to this one?

Declaration
public bool Equals(Resolution other)
Parameters
TypeNameDescription
Resolutionother
Returns
TypeDescription
bool
| Edit this page View Source

GetHashCode()

Returns the hash code for this instance.

Declaration
public override int GetHashCode()
Returns
TypeDescription
int

A 32-bit signed integer that is the hash code for this instance.

Overrides
ValueType.GetHashCode()
| Edit this page View Source

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()
Returns
TypeDescription
string

The fully qualified type name.

Overrides
ValueType.ToString()