Anvil
Anvil.API.Vector2Int Struct Reference

A vector with two 32 bit integer values. More...

+ Inheritance diagram for Anvil.API.Vector2Int:
+ Collaboration diagram for Anvil.API.Vector2Int:

Public Member Functions

 Vector2Int (int x=0, int y=0)
 
override bool Equals (object? obj)
 
bool Equals (Vector2Int other)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator!= (Vector2Int left, Vector2Int right)
 
static Vector2Int operator+ (Vector2Int a, Vector2Int b)
 
static Vector2Int operator- (Vector2Int a, Vector2Int b)
 
static bool operator== (Vector2Int left, Vector2Int right)
 

Public Attributes

readonly int X
 
readonly int Y
 

Detailed Description

A vector with two 32 bit integer values.


The documentation for this struct was generated from the following file: