FVector2

FVector2 class

A float vector with two components.

Properties

NameDescription
xThe x component.
yThe y component.

Methods

constructor

NameDescription
constructor()

Result:


constructor_overload

NameDescription
constructor_overload(x, y)Initializes a new instance of the FVector2.

Result:


constructor_overload$2{#constructor_overload$2}

NameDescription
constructor_overload$2(vec)Initializes a new instance of the FVector2.

Result:


toString

NameDescription
toString()

Result: String


equals

NameDescription
equals(rhs)Check if two vectors are equal

Parameters:

NameTypeDescription
rhFVector2null

Result: boolean


equals

NameDescription
equals(obj)Check if two vectors are equal

Parameters:

NameTypeDescription
obObjectnull

Result: boolean


hashCode

NameDescription
hashCode()Gets the hash code of this instance

Result: Number