G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FTransform3f 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 IsRotationNormalized () const
FTransform3f Inverse () const
void Blend (FTransform3f Atom1, FTransform3f Atom2, float32 Alpha)
void BlendWith (FTransform3f OtherAtom, float32 Alpha)
FTransform3f opMul (FTransform3f Other) const
FTransform3f opMul (FQuat4f Other) const
void opMulAssign (FTransform3f Other)
void opMulAssign (FQuat4f Other)
void ScaleTranslation (FVector3f InScale3D)
void ScaleTranslation (const float32 &Scale)
void RemoveScaling (float32 Tolerance=__SMALL_NUMBER_flt)
void SetToRelativeTransform (FTransform3f Other)
void Accumulate (FTransform3f 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
FTransform3f GetRelativeTransform (FTransform3f Other) const
FTransform3f GetRelativeTransformReverse (FTransform3f Other) const
FVector3f TransformPosition (FVector3f V) const
FVector3f TransformPositionNoScale (FVector3f V) const
FVector3f InverseTransformPosition (FVector3f V) const
FVector3f InverseTransformPositionNoScale (FVector3f V) const
FVector3f TransformVector (FVector3f V) const
FVector3f TransformVectorNoScale (FVector3f V) const
FVector3f InverseTransformVector (FVector3f V) const
FVector3f InverseTransformVectorNoScale (FVector3f V) const
FQuat4f TransformRotation (FQuat4f Q) const
FQuat4f InverseTransformRotation (FQuat4f Q) const
FVector3f SubtractTranslations (FTransform3f B) const
void NormalizeRotation ()
FTransform3f & opAssign (FTransform3f Other)
bool TranslationEquals (FTransform3f Other, float32 Tolerance=__KINDA_SMALL_NUMBER_flt) const
bool EqualsNoScale (FTransform3f Other, float32 Tolerance=__KINDA_SMALL_NUMBER_flt) const
bool Equals (FTransform3f Other, float32 Tolerance=__KINDA_SMALL_NUMBER_flt) const
FVector3f GetLocation () const
bool ContainsNaN () const
bool IsValid () const
float32 GetDeterminant () const
FRotator3f Rotator () const
FVector3f GetTranslation () const
FVector3f GetScale3D () const
FQuat4f GetRotation () const
void SetLocation (FVector3f Origin)
void SetTranslation (FVector3f Origin)
void AddToTranslation (FVector3f Origin)
void ConcatenateRotation (FQuat4f DeltaRotation)
 Concatenates another rotation to this transformation.
void SetRotation (FQuat4f NewRotation)
void SetScale3D (FVector3f NewScale3D)
void SetTranslationAndScale3D (FVector3f NewTranslation, FVector3f NewScale3D)
bool InitFromString (FString SourceString)
FString ToString () const
FRotator3f InverseTransformRotation (FRotator3f R) const
void SetRotation (FRotator3f NewRotation)
FRotator3f TransformRotation (FRotator3f R) const

Static Public Member Functions

Static Functions
static FTransform3f MakeFromXZ (FVector3f XAxis, FVector3f ZAxis)
static FTransform3f MakeFromYX (FVector3f YAxis, FVector3f XAxis)
static FTransform3f MakeFromYZ (FVector3f YAxis, FVector3f ZAxis)
static FTransform3f MakeFromZX (FVector3f ZAxis, FVector3f XAxis)
static FTransform3f MakeFromZY (FVector3f ZAxis, FVector3f YAxis)
static FTransform3f MakeFromXY (FVector3f XAxis, FVector3f YAxis)

Public Attributes

Variables
const float32 MinimumAxisScale
FVector3f Location
const float32 Determinant
FVector3f Translation
FVector3f Scale3D
FQuat4f Rotation
const float32 MaximumAxisScale

Static Public Attributes

Static Variables
static const FTransform3f 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 ( FTransform3f 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 ( FVector3f Origin)

◆ Blend()

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

◆ BlendWith()

void BlendWith ( FTransform3f OtherAtom,
float32 Alpha )

◆ ConcatenateRotation()

void ConcatenateRotation ( FQuat4f 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 ( FTransform3f Other,
float32 Tolerance = __KINDA_SMALL_NUMBER_flt ) const

◆ EqualsNoScale()

bool EqualsNoScale ( FTransform3f Other,
float32 Tolerance = __KINDA_SMALL_NUMBER_flt ) const

◆ GetDeterminant()

float32 GetDeterminant ( ) const

◆ GetLocation()

FVector3f GetLocation ( ) const

◆ GetMaximumAxisScale()

float32 GetMaximumAxisScale ( ) const

◆ GetMinimumAxisScale()

float32 GetMinimumAxisScale ( ) const

◆ GetRelativeTransform()

FTransform3f GetRelativeTransform ( FTransform3f Other) const

◆ GetRelativeTransformReverse()

FTransform3f GetRelativeTransformReverse ( FTransform3f Other) const

◆ GetRotation()

FQuat4f GetRotation ( ) const

◆ GetScale3D()

FVector3f GetScale3D ( ) const

◆ GetTranslation()

FVector3f GetTranslation ( ) const

◆ InitFromString()

bool InitFromString ( FString SourceString)

◆ Inverse()

FTransform3f Inverse ( ) const

◆ InverseTransformPosition()

FVector3f InverseTransformPosition ( FVector3f V) const

◆ InverseTransformPositionNoScale()

FVector3f InverseTransformPositionNoScale ( FVector3f V) const

◆ InverseTransformRotation() [1/2]

FQuat4f InverseTransformRotation ( FQuat4f Q) const

◆ InverseTransformRotation() [2/2]

FRotator3f InverseTransformRotation ( FRotator3f R) const

◆ InverseTransformVector()

FVector3f InverseTransformVector ( FVector3f V) const

◆ InverseTransformVectorNoScale()

FVector3f InverseTransformVectorNoScale ( FVector3f V) const

◆ IsRotationNormalized()

bool IsRotationNormalized ( ) const

◆ IsValid()

bool IsValid ( ) const

◆ MakeFromXY()

FTransform3f MakeFromXY ( FVector3f XAxis,
FVector3f YAxis )
static

◆ MakeFromXZ()

FTransform3f MakeFromXZ ( FVector3f XAxis,
FVector3f ZAxis )
static

◆ MakeFromYX()

FTransform3f MakeFromYX ( FVector3f YAxis,
FVector3f XAxis )
static

◆ MakeFromYZ()

FTransform3f MakeFromYZ ( FVector3f YAxis,
FVector3f ZAxis )
static

◆ MakeFromZX()

FTransform3f MakeFromZX ( FVector3f ZAxis,
FVector3f XAxis )
static

◆ MakeFromZY()

FTransform3f MakeFromZY ( FVector3f ZAxis,
FVector3f YAxis )
static

◆ NormalizeRotation()

void NormalizeRotation ( )

◆ opAssign()

FTransform3f & opAssign ( FTransform3f Other)

◆ opMul() [1/2]

FTransform3f opMul ( FQuat4f Other) const

◆ opMul() [2/2]

FTransform3f opMul ( FTransform3f Other) const

◆ opMulAssign() [1/2]

void opMulAssign ( FQuat4f Other)

◆ opMulAssign() [2/2]

void opMulAssign ( FTransform3f Other)

◆ RemoveScaling()

void RemoveScaling ( float32 Tolerance = __SMALL_NUMBER_flt)

◆ Rotator()

FRotator3f Rotator ( ) const

◆ ScaleTranslation() [1/2]

void ScaleTranslation ( const float32 & Scale)

◆ ScaleTranslation() [2/2]

void ScaleTranslation ( FVector3f InScale3D)

◆ SetLocation()

void SetLocation ( FVector3f Origin)

◆ SetRotation() [1/2]

void SetRotation ( FQuat4f NewRotation)

◆ SetRotation() [2/2]

void SetRotation ( FRotator3f NewRotation)

◆ SetScale3D()

void SetScale3D ( FVector3f NewScale3D)

◆ SetToRelativeTransform()

void SetToRelativeTransform ( FTransform3f Other)

◆ SetTranslation()

void SetTranslation ( FVector3f Origin)

◆ SetTranslationAndScale3D()

void SetTranslationAndScale3D ( FVector3f NewTranslation,
FVector3f NewScale3D )

◆ SubtractTranslations()

FVector3f SubtractTranslations ( FTransform3f B) const

◆ ToString()

FString ToString ( ) const

◆ TransformPosition()

FVector3f TransformPosition ( FVector3f V) const

◆ TransformPositionNoScale()

FVector3f TransformPositionNoScale ( FVector3f V) const

◆ TransformRotation() [1/2]

FQuat4f TransformRotation ( FQuat4f Q) const

◆ TransformRotation() [2/2]

FRotator3f TransformRotation ( FRotator3f R) const

◆ TransformVector()

FVector3f TransformVector ( FVector3f V) const

◆ TransformVectorNoScale()

FVector3f TransformVectorNoScale ( FVector3f V) const

◆ TranslationEquals()

bool TranslationEquals ( FTransform3f Other,
float32 Tolerance = __KINDA_SMALL_NUMBER_flt ) const

Member Data Documentation

◆ Determinant

const float32 Determinant

◆ Identity

const FTransform3f Identity
static

◆ Location

FVector3f Location

◆ MaximumAxisScale

const float32 MaximumAxisScale

◆ MinimumAxisScale

const float32 MinimumAxisScale

◆ Rotation

FQuat4f Rotation

◆ Scale3D

FVector3f Scale3D

◆ Translation

FVector3f Translation