TVector2

Overload list

Choose your operating system:

Windows

macOS

Linux

Name Description

Public function

TVector2()

Default constructor (no initialization).

Public function

TVector2

(
    T InF
)

Constructor initializing both components to a single T value.

Public function

TVector2

(
    FIntPoint InPos
)

Constructs a vector from an FIntPoint.

Public function

TVector2

(
    EForceInit
)

Constructor which initializes all components to zero.

Public function

TVector2

(
    ENoInit
)

Constructor that does not initialize. More explicit than the default constructor.

Public function

TVector2

(
    const TVector< T >& V
)

Constructs a vector from an FVector. Copies the X and Y components from the FVector.

Public function

TVector2

(
    const TVector4< T >& V
)

Constructs a vector from an FVector4.

Public function

TVector2

(
    const TVector2< FArg >& From
)

Conversion from other type. TODO: explicit!

Public function

TVector2

(
    T InX,
    T InY
)

Constructor using initial values for each component.