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

Transform composed of Quat/Translation/Scale. @note This is implemented in either TransformVectorized.h or TransformNonVectorized.h depending on the platform. More...

Public Member Functions

Functions
bool Equals (FTransform Other, float Tolerance=KINDA_SMALL_NUMBER) const
FTransform Inverse () const
void Blend (FTransform Atom1, FTransform Atom2, float32 Alpha)
void BlendWith (FTransform OtherAtom, float32 Alpha)
FTransform opMul (FTransform Other) const
FTransform opMul (FQuat Other) const
void opMulAssign (FTransform Other)
void opMulAssign (FQuat Other)
void ScaleTranslation (FVector InScale3D)
void ScaleTranslation (const float &Scale)
void RemoveScaling (float Tolerance=SMALL_NUMBER)
void SetToRelativeTransform (FTransform Other)
void Accumulate (FTransform SourceAtom)
 Accumulates another transform with this one Rotation is accumulated multiplicatively (Rotation = SourceAtom.Rotation * Rotation) Translation is accumulated additively (Translation += SourceAtom.Translation) Scale3D is accumulated multiplicatively (Scale3D *= SourceAtom.Scale3D).
float32 GetMaximumAxisScale () const
float32 GetMinimumAxisScale () const
FTransform GetRelativeTransform (FTransform Other) const
FTransform GetRelativeTransformReverse (FTransform Other) const
FVector TransformPosition (FVector V) const
FVector TransformPositionNoScale (FVector V) const
FVector InverseTransformPosition (FVector V) const
FVector InverseTransformPositionNoScale (FVector V) const
FVector TransformVector (FVector V) const
FVector TransformVectorNoScale (FVector V) const
FVector InverseTransformVector (FVector V) const
FVector InverseTransformVectorNoScale (FVector V) const
FQuat TransformRotation (FQuat Q) const
FQuat InverseTransformRotation (FQuat Q) const
FVector SubtractTranslations (FTransform B) const
void NormalizeRotation ()
bool IsRotationNormalized () const
bool TranslationEquals (FTransform Other, float Tolerance=KINDA_SMALL_NUMBER) const
bool EqualsNoScale (FTransform Other, float Tolerance=KINDA_SMALL_NUMBER) const
FTransform & opAssign (FTransform Other)
FVector GetLocation () const
bool ContainsNaN () const
bool IsValid () const
float GetDeterminant () const
FRotator Rotator () const
FVector GetTranslation () const
FVector GetScale3D () const
FQuat GetRotation () const
FMatrix ToMatrixWithScale () const
FMatrix ToMatrixNoScale () const
FMatrix ToInverseMatrixWithScale () const
void SetLocation (FVector Origin)
void SetTranslation (FVector Origin)
void AddToTranslation (FVector Origin)
void ConcatenateRotation (FQuat DeltaRotation)
 Concatenates another rotation to this transformation.
void SetRotation (FQuat NewRotation)
void SetScale3D (FVector NewScale3D)
void SetTranslationAndScale3D (FVector NewTranslation, FVector NewScale3D)
bool InitFromString (FString SourceString)
FString ToString () const
void Blend (FTransform Atom1, FTransform Atom2, float Alpha)
void BlendWith (FTransform OtherAtom, float Alpha)
FRotator InverseTransformRotation (FRotator R) const
void SetRotation (FRotator NewRotation)
FRotator TransformRotation (FRotator R) const

Static Public Member Functions

Static Functions
static FTransform MakeFromXZ (FVector XAxis, FVector ZAxis)
static FTransform MakeFromYX (FVector YAxis, FVector XAxis)
static FTransform MakeFromYZ (FVector YAxis, FVector ZAxis)
static FTransform MakeFromZX (FVector ZAxis, FVector XAxis)
static FTransform MakeFromZY (FVector ZAxis, FVector YAxis)
static FTransform MakeFromXY (FVector XAxis, FVector YAxis)

Public Attributes

Variables
const float32 MinimumAxisScale
FVector Location
const float Determinant
FVector Translation
FVector Scale3D
FQuat Rotation
const float32 MaximumAxisScale

Static Public Attributes

Static Variables
static const FTransform Identity

Detailed Description

Transform composed of Quat/Translation/Scale. @note This is implemented in either TransformVectorized.h or TransformNonVectorized.h depending on the platform.

Member Function Documentation

◆ Accumulate()

void Accumulate ( FTransform SourceAtom)

Accumulates another transform with this one Rotation is accumulated multiplicatively (Rotation = SourceAtom.Rotation * Rotation) Translation is accumulated additively (Translation += SourceAtom.Translation) Scale3D is accumulated multiplicatively (Scale3D *= SourceAtom.Scale3D).

Parameters
SourceAtomThe other transform to accumulate into this one

◆ AddToTranslation()

void AddToTranslation ( FVector Origin)

◆ Blend() [1/2]

void Blend ( FTransform Atom1,
FTransform Atom2,
float Alpha )

◆ Blend() [2/2]

void Blend ( FTransform Atom1,
FTransform Atom2,
float32 Alpha )

◆ BlendWith() [1/2]

void BlendWith ( FTransform OtherAtom,
float Alpha )

◆ BlendWith() [2/2]

void BlendWith ( FTransform OtherAtom,
float32 Alpha )

◆ ConcatenateRotation()

void ConcatenateRotation ( FQuat DeltaRotation)

Concatenates another rotation to this transformation.

Parameters
DeltaRotationThe rotation to concatenate in the following fashion: Rotation = Rotation * DeltaRotation

◆ ContainsNaN()

bool ContainsNaN ( ) const

◆ Equals()

bool Equals ( FTransform Other,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ EqualsNoScale()

bool EqualsNoScale ( FTransform Other,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ GetDeterminant()

float GetDeterminant ( ) const

◆ GetLocation()

FVector GetLocation ( ) const

◆ GetMaximumAxisScale()

float32 GetMaximumAxisScale ( ) const

◆ GetMinimumAxisScale()

float32 GetMinimumAxisScale ( ) const

◆ GetRelativeTransform()

FTransform GetRelativeTransform ( FTransform Other) const

◆ GetRelativeTransformReverse()

FTransform GetRelativeTransformReverse ( FTransform Other) const

◆ GetRotation()

FQuat GetRotation ( ) const

◆ GetScale3D()

FVector GetScale3D ( ) const

◆ GetTranslation()

FVector GetTranslation ( ) const

◆ InitFromString()

bool InitFromString ( FString SourceString)

◆ Inverse()

FTransform Inverse ( ) const

◆ InverseTransformPosition()

FVector InverseTransformPosition ( FVector V) const

◆ InverseTransformPositionNoScale()

FVector InverseTransformPositionNoScale ( FVector V) const

◆ InverseTransformRotation() [1/2]

FQuat InverseTransformRotation ( FQuat Q) const

◆ InverseTransformRotation() [2/2]

FRotator InverseTransformRotation ( FRotator R) const

◆ InverseTransformVector()

FVector InverseTransformVector ( FVector V) const

◆ InverseTransformVectorNoScale()

FVector InverseTransformVectorNoScale ( FVector V) const

◆ IsRotationNormalized()

bool IsRotationNormalized ( ) const

◆ IsValid()

bool IsValid ( ) const

◆ MakeFromXY()

FTransform MakeFromXY ( FVector XAxis,
FVector YAxis )
static

◆ MakeFromXZ()

FTransform MakeFromXZ ( FVector XAxis,
FVector ZAxis )
static

◆ MakeFromYX()

FTransform MakeFromYX ( FVector YAxis,
FVector XAxis )
static

◆ MakeFromYZ()

FTransform MakeFromYZ ( FVector YAxis,
FVector ZAxis )
static

◆ MakeFromZX()

FTransform MakeFromZX ( FVector ZAxis,
FVector XAxis )
static

◆ MakeFromZY()

FTransform MakeFromZY ( FVector ZAxis,
FVector YAxis )
static

◆ NormalizeRotation()

void NormalizeRotation ( )

◆ opAssign()

FTransform & opAssign ( FTransform Other)

◆ opMul() [1/2]

FTransform opMul ( FQuat Other) const

◆ opMul() [2/2]

FTransform opMul ( FTransform Other) const

◆ opMulAssign() [1/2]

void opMulAssign ( FQuat Other)

◆ opMulAssign() [2/2]

void opMulAssign ( FTransform Other)

◆ RemoveScaling()

void RemoveScaling ( float Tolerance = SMALL_NUMBER)

◆ Rotator()

FRotator Rotator ( ) const

◆ ScaleTranslation() [1/2]

void ScaleTranslation ( const float & Scale)

◆ ScaleTranslation() [2/2]

void ScaleTranslation ( FVector InScale3D)

◆ SetLocation()

void SetLocation ( FVector Origin)

◆ SetRotation() [1/2]

void SetRotation ( FQuat NewRotation)

◆ SetRotation() [2/2]

void SetRotation ( FRotator NewRotation)

◆ SetScale3D()

void SetScale3D ( FVector NewScale3D)

◆ SetToRelativeTransform()

void SetToRelativeTransform ( FTransform Other)

◆ SetTranslation()

void SetTranslation ( FVector Origin)

◆ SetTranslationAndScale3D()

void SetTranslationAndScale3D ( FVector NewTranslation,
FVector NewScale3D )

◆ SubtractTranslations()

FVector SubtractTranslations ( FTransform B) const

◆ ToInverseMatrixWithScale()

FMatrix ToInverseMatrixWithScale ( ) const

◆ ToMatrixNoScale()

FMatrix ToMatrixNoScale ( ) const

◆ ToMatrixWithScale()

FMatrix ToMatrixWithScale ( ) const

◆ ToString()

FString ToString ( ) const

◆ TransformPosition()

FVector TransformPosition ( FVector V) const

◆ TransformPositionNoScale()

FVector TransformPositionNoScale ( FVector V) const

◆ TransformRotation() [1/2]

FQuat TransformRotation ( FQuat Q) const

◆ TransformRotation() [2/2]

FRotator TransformRotation ( FRotator R) const

◆ TransformVector()

FVector TransformVector ( FVector V) const

◆ TransformVectorNoScale()

FVector TransformVectorNoScale ( FVector V) const

◆ TranslationEquals()

bool TranslationEquals ( FTransform Other,
float Tolerance = KINDA_SMALL_NUMBER ) const

Member Data Documentation

◆ Determinant

const float Determinant

◆ Identity

const FTransform Identity
static

◆ Location

FVector Location

◆ MaximumAxisScale

const float32 MaximumAxisScale

◆ MinimumAxisScale

const float32 MinimumAxisScale

◆ Rotation

FQuat Rotation

◆ Scale3D

FVector Scale3D

◆ Translation

FVector Translation