FVector2D

Namespace: UAssetAPI.UnrealTypes

A vector in 2-D space composed of components (X, Y) with floating/double point precision.

public struct FVector2D

Inheritance ObjectValueTypeFVector2D
Implements IStruct<FVector2D>

Properties

X

The vector's X-component.

public double X { get; set; }

Property Value

Double

XFloat

public float XFloat { get; }

Property Value

Single

Y

The vector's Y-component.

public double Y { get; set; }

Property Value

Double

YFloat

public float YFloat { get; }

Property Value

Single

Constructors

FVector2D(Double, Double)

FVector2D(double x, double y)

Parameters

x Double

y Double

FVector2D(Single, Single, Single)

FVector2D(float x, float y, float z)

Parameters

x Single

y Single

z Single

FVector2D(AssetBinaryReader)

FVector2D(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Methods

Write(AssetBinaryWriter)

int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

Returns

Int32

Read(AssetBinaryReader)

FVector2D Read(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Returns

FVector2D

ToString()

string ToString()

Returns

String

FromString(String[], UAsset)

FVector2D FromString(String[] d, UAsset asset)

Parameters

d String[]

asset UAsset

Returns

FVector2D