G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FRotator Struct Reference

An orthogonal rotation in 3d space. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Rotator.h. More...

Public Member Functions

Functions
FVector RotateVector (FVector V) const
FRotator opAdd (FRotator R) const
FRotator opAddAssign (FRotator R)
FRotator opSub (FRotator R) const
FRotator opSubAssign (FRotator R)
FRotator opMul (float Scale) const
FRotator opMulAssign (float Scale)
bool opEquals (FRotator R) const
bool IsNearlyZero (float Tolerance=KINDA_SMALL_NUMBER) const
bool IsZero () const
bool Equals (FRotator R, float Tolerance=KINDA_SMALL_NUMBER) const
FRotator GetInverse () const
FRotator Clamp () const
FRotator GetNormalized () const
FRotator GetDenormalized () const
void GetWindingAndRemainder (FRotator &Winding, FRotator &Remainder) const
float GetManhattanDistance (FRotator Rotator) const
void Normalize ()
bool ContainsNaN ()
FVector Vector () const
FQuat Quaternion () const
FVector Euler () const
FRotator & opAssign (FRotator Other)
FVector UnrotateVector (FVector V) const
FString ToColorString () const
bool InitFromString (FString SourceString)
FString ToString () const
float AngularDistance (FRotator B) const
 Get the angle in degrees between two rotators.
FRotator Compose (FRotator B) const
FVector GetForwardVector () const
FVector GetRightVector () const
FVector GetUpVector () const

Static Public Member Functions

Static Functions
static FRotator MakeFromXY (FVector XAxis, FVector YAxis)
static float ClampAxis (float Angle)
static FRotator MakeFromEuler (FVector Euler)
static FRotator MakeFromX (FVector XAxis)
static FRotator MakeFromY (FVector YAxis)
static FRotator MakeFromZ (FVector ZAxis)
static float NormalizeAxis (float Angle)
static FRotator MakeFromXZ (FVector XAxis, FVector ZAxis)
static FRotator MakeFromYX (FVector YAxis, FVector XAxis)
static FRotator MakeFromYZ (FVector YAxis, FVector ZAxis)
static FRotator MakeFromZX (FVector ZAxis, FVector XAxis)
static FRotator MakeFromZY (FVector ZAxis, FVector YAxis)
static FRotator MakeFromAxes (FVector Forward, FVector Right, FVector Up)

Public Attributes

Rotator
float Yaw
 Yaw (degrees) around Z axis.
float Roll
 Roll (degrees) around X axis.
float Pitch
 Pitch (degrees) around Y axis.
Variables
const FRotator Normalized
const FRotator Inverse
const FRotator Denormalized
const FVector ForwardVector
const FVector RightVector
const FVector UpVector

Static Public Attributes

Static Variables
static const FRotator ZeroRotator

Detailed Description

An orthogonal rotation in 3d space. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Rotator.h.

Member Function Documentation

◆ AngularDistance()

float AngularDistance ( FRotator B) const

Get the angle in degrees between two rotators.

◆ Clamp()

FRotator Clamp ( ) const

◆ ClampAxis()

float ClampAxis ( float Angle)
static

◆ Compose()

FRotator Compose ( FRotator B) const

◆ ContainsNaN()

bool ContainsNaN ( )

◆ Equals()

bool Equals ( FRotator R,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ Euler()

FVector Euler ( ) const

◆ GetDenormalized()

FRotator GetDenormalized ( ) const

◆ GetForwardVector()

FVector GetForwardVector ( ) const

◆ GetInverse()

FRotator GetInverse ( ) const

◆ GetManhattanDistance()

float GetManhattanDistance ( FRotator Rotator) const

◆ GetNormalized()

FRotator GetNormalized ( ) const

◆ GetRightVector()

FVector GetRightVector ( ) const

◆ GetUpVector()

FVector GetUpVector ( ) const

◆ GetWindingAndRemainder()

void GetWindingAndRemainder ( FRotator & Winding,
FRotator & Remainder ) const

◆ InitFromString()

bool InitFromString ( FString SourceString)

◆ IsNearlyZero()

bool IsNearlyZero ( float Tolerance = KINDA_SMALL_NUMBER) const

◆ IsZero()

bool IsZero ( ) const

◆ MakeFromAxes()

FRotator MakeFromAxes ( FVector Forward,
FVector Right,
FVector Up )
static

◆ MakeFromEuler()

FRotator MakeFromEuler ( FVector Euler)
static

◆ MakeFromX()

FRotator MakeFromX ( FVector XAxis)
static

◆ MakeFromXY()

FRotator MakeFromXY ( FVector XAxis,
FVector YAxis )
static

◆ MakeFromXZ()

FRotator MakeFromXZ ( FVector XAxis,
FVector ZAxis )
static

◆ MakeFromY()

FRotator MakeFromY ( FVector YAxis)
static

◆ MakeFromYX()

FRotator MakeFromYX ( FVector YAxis,
FVector XAxis )
static

◆ MakeFromYZ()

FRotator MakeFromYZ ( FVector YAxis,
FVector ZAxis )
static

◆ MakeFromZ()

FRotator MakeFromZ ( FVector ZAxis)
static

◆ MakeFromZX()

FRotator MakeFromZX ( FVector ZAxis,
FVector XAxis )
static

◆ MakeFromZY()

FRotator MakeFromZY ( FVector ZAxis,
FVector YAxis )
static

◆ Normalize()

void Normalize ( )

◆ NormalizeAxis()

float NormalizeAxis ( float Angle)
static

◆ opAdd()

FRotator opAdd ( FRotator R) const

◆ opAddAssign()

FRotator opAddAssign ( FRotator R)

◆ opAssign()

FRotator & opAssign ( FRotator Other)

◆ opEquals()

bool opEquals ( FRotator R) const

◆ opMul()

FRotator opMul ( float Scale) const

◆ opMulAssign()

FRotator opMulAssign ( float Scale)

◆ opSub()

FRotator opSub ( FRotator R) const

◆ opSubAssign()

FRotator opSubAssign ( FRotator R)

◆ Quaternion()

FQuat Quaternion ( ) const

◆ RotateVector()

FVector RotateVector ( FVector V) const

◆ ToColorString()

FString ToColorString ( ) const

◆ ToString()

FString ToString ( ) const

◆ UnrotateVector()

FVector UnrotateVector ( FVector V) const

◆ Vector()

FVector Vector ( ) const

Member Data Documentation

◆ Denormalized

const FRotator Denormalized

◆ ForwardVector

const FVector ForwardVector

◆ Inverse

const FRotator Inverse

◆ Normalized

const FRotator Normalized

◆ Pitch

float Pitch

Pitch (degrees) around Y axis.

◆ RightVector

const FVector RightVector

◆ Roll

float Roll

Roll (degrees) around X axis.

◆ UpVector

const FVector UpVector

◆ Yaw

float Yaw

Yaw (degrees) around Z axis.

◆ ZeroRotator

const FRotator ZeroRotator
static