Struct Resolution
Screen resolution
Inherited Members
Namespace: VoltstroStudios.UnityWebBrowser.Shared
Assembly: VoltstroStudios.UnityWebBrowser.Shared.dll
Syntax
[Serializable]
public struct Resolution
Constructors
| Edit this page View SourceResolution(uint, uint)
Creates a new Resolution instance
Declaration
public Resolution(uint width, uint height)
Parameters
Type | Name | Description |
---|---|---|
uint | width | |
uint | height |
Fields
| Edit this page View SourceHeight
Height of the screen
Declaration
public uint Height
Field Value
Type | Description |
---|---|
uint |
Width
Width of the screen
Declaration
public uint Width
Field Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
| Edit this page View SourceEquals(Resolution)
Does a different Resolution equal to this one?
Declaration
public bool Equals(Resolution other)
Parameters
Type | Name | Description |
---|---|---|
Resolution | other |
Returns
Type | Description |
---|---|
bool |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
| Edit this page View SourceToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The fully qualified type name. |