Int2
- Namespace: Turian.Engine.Core
- Source File: Int2.cs
A two-component integer vector, used for pixel sizes and resolutions that have no reason to carry a generic Silk.NET math type.
Fields
X (int) = x: The X component.
Y (int) = y: The Y component.
Public Methods
Equals
public override readonly bool Equals(object? obj)
Parameters:
obj(object?)
Returns: bool
Equals
public readonly bool Equals(Int2 other)
Parameters:
other(Int2)
Returns: bool
GetHashCode
public override readonly int GetHashCode()
Returns: int
ToString
public override readonly string ToString()
Returns: string