Vec2<T>
Namespace: Shadop.Archmage.Sdk
Represents a 2D vector.
public struct Vec2<T>Inheritance Object → ValueType → Vec2
Implements IEquatable<Vec2
Properties
Section titled “Properties”public T X { get; set; }Property Value
Section titled “Property Value”T
public T Y { get; set; }Property Value
Section titled “Property Value”T
Constructors
Section titled “Constructors”Vec2(T, T)
Section titled “Vec2(T, T)”Vec2(T x, T y)Parameters
Section titled “Parameters”x T
y T
Methods
Section titled “Methods”Equals(Vec2)
Section titled “Equals(Vec2)”bool Equals(Vec2<T> other)Parameters
Section titled “Parameters”other Vec2
Returns
Section titled “Returns”Equals(Object)
Section titled “Equals(Object)”bool Equals(object obj)Parameters
Section titled “Parameters”obj Object
Returns
Section titled “Returns”GetHashCode()
Section titled “GetHashCode()”int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ToString()”string ToString()