FQuat

Namespace: UAssetAPI.UnrealTypes

Floating point quaternion that can represent a rotation about an axis in 3-D space. The X, Y, Z, W components also double as the Axis/Angle format.

public struct FQuat

Inheritance ObjectValueTypeFQuat
Implements IStruct<FQuat>

Properties

X

The quaternion's X-component.

public double X { get; set; }

Property Value

Double

XFloat

public float XFloat { get; }

Property Value

Single

Y

The quaternion's Y-component.

public double Y { get; set; }

Property Value

Double

YFloat

public float YFloat { get; }

Property Value

Single

Z

The quaternion's Z-component.

public double Z { get; set; }

Property Value

Double

ZFloat

public float ZFloat { get; }

Property Value

Single

W

The quaternion's W-component.

public double W { get; set; }

Property Value

Double

WFloat

public float WFloat { get; }

Property Value

Single

Constructors

FQuat(Double, Double, Double, Double)

FQuat(double x, double y, double z, double w)

Parameters

x Double

y Double

z Double

w Double

FQuat(Single, Single, Single, Single)

FQuat(float x, float y, float z, float w)

Parameters

x Single

y Single

z Single

w Single

FQuat(AssetBinaryReader)

FQuat(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Methods

Write(AssetBinaryWriter)

int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

Returns

Int32

Read(AssetBinaryReader)

FQuat Read(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Returns

FQuat

ToString()

string ToString()

Returns

String

FromString(String[], UAsset)

FQuat FromString(String[] d, UAsset asset)

Parameters

d String[]

asset UAsset

Returns

FQuat