Table of Contents

Struct Vec2i

Namespace
TaleWorlds.Library
Assembly
TaleWorlds.Library.dll
public struct Vec2i : IEquatable<Vec2i>
Implements
Inherited Members
Extension Methods

Constructors

Vec2i(int, int)

public Vec2i(int x = 0, int y = 0)

Parameters

x int
y int

Fields

Forward

public static readonly Vec2i Forward

Field Value

Vec2i

One

public static readonly Vec2i One

Field Value

Vec2i

Side

public static readonly Vec2i Side

Field Value

Vec2i

X

public int X

Field Value

int

Y

public int Y

Field Value

int

Zero

public static readonly Vec2i Zero

Field Value

Vec2i

Properties

Item1

public int Item1 { get; }

Property Value

int

Item2

public int Item2 { get; }

Property Value

int

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(Vec2i)

public bool Equals(Vec2i value)

Parameters

value Vec2i

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(Vec2i, Vec2i)

public static bool operator ==(Vec2i a, Vec2i b)

Parameters

a Vec2i
b Vec2i

Returns

bool

operator !=(Vec2i, Vec2i)

public static bool operator !=(Vec2i a, Vec2i b)

Parameters

a Vec2i
b Vec2i

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).