FRotator

Namespace: UAssetAPI.UnrealTypes

Implements a container for rotation information. All rotation values are stored in degrees.

public struct FRotator

Inheritance ObjectValueTypeFRotator

Properties

Pitch

Rotation around the right axis (around Y axis), Looking up and down (0=Straight Ahead, +Up, -Down)

public double Pitch { get; set; }

Property Value

Double

PitchFloat

public float PitchFloat { get; }

Property Value

Single

Yaw

Rotation around the up axis (around Z axis), Running in circles 0=East, +North, -South.

public double Yaw { get; set; }

Property Value

Double

YawFloat

public float YawFloat { get; }

Property Value

Single

Roll

Rotation around the forward axis (around X axis), Tilting your head, 0=Straight, +Clockwise, -CCW.

public double Roll { get; set; }

Property Value

Double

RollFloat

public float RollFloat { get; }

Property Value

Single

Constructors

FRotator(Double, Double, Double)

FRotator(double pitch, double yaw, double roll)

Parameters

pitch Double

yaw Double

roll Double

FRotator(Single, Single, Single)

FRotator(float pitch, float yaw, float roll)

Parameters

pitch Single

yaw Single

roll Single

FRotator(AssetBinaryReader)

FRotator(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Methods

Write(AssetBinaryWriter)

int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

Returns

Int32