Fixed Transform
Struct · FFixedTransform
#include "Types/Transform.h"
deterministic: safe in simulation code
Deterministic fixed-point transform. Position, Rotation (quaternion), and Scale for entity placement in lockstep simulation.
Properties
Section titled “Properties”Location
Section titled “Location”FFixedVector Location
Editable in defaults and on instances · Blueprint read and write
Position, in world units.
Rotation
Section titled “Rotation”FFixedQuaternion Rotation
Editable in defaults and on instances · Blueprint read and write
Orientation as a quaternion.
FFixedVector Scale
Editable in defaults and on instances · Blueprint read and write
Scale on each axis. 1, 1, 1 means no scaling.
C++ members (28)
static FFixedTransform Identity();static FFixedTransform FromTransform(const FTransform& T);FTransform ToTransform() const;FFixedVector GetLocation() const;FFixedRotator GetRotation() const;FFixedVector GetScale() const;FFixedQuaternion GetQuaternionRotation() const;void SetLocation(const FFixedVector& NewLocation);void SetRotation(const FFixedQuaternion& NewRotation);void SetScale(const FFixedVector& NewScale);FFixedVector TransformPosition(const FFixedVector& Point) const;Transform a position by this transform. Result = Rotation * (Scale * Point) + LocationFFixedVector TransformVector(const FFixedVector& Vector) const;Transform a direction vector by this transform (no Location, no scale). Result = Rotation * VectorFFixedVector TransformVectorNoLocation(const FFixedVector& Vector) const;Transform a direction vector by this transform (includes scale, no Location). Result = Rotation * (Scale * Vector)FFixedVector InverseTransformPosition(const FFixedVector& Point) const;Inverse transform a position. Result = InvRotation(Point - Location) / Scale. A zero scale component maps to zero.FFixedVector InverseTransformVector(const FFixedVector& Vector) const;Inverse transform a direction vector (no Location, no scale). Result = InvRotation * VectorFFixedTransform Inverse() const;Get the inverse of this transform. A zero scale component inverts to zero.static FFixedTransform Multiply(const FFixedTransform& A, const FFixedTransform& B);Multiply two transforms. Result = B * A (applies A first, then B)static FFixedTransform Lerp(const FFixedTransform& A, const FFixedTransform& B, FFixedPoint Alpha);Linear interpolation between two transforms.FFixedTransform operator*(const FFixedTransform& Other) const;Multiply two transforms (apply A first, then this)bool operator==(const FFixedTransform& Other) const;bool operator!=(const FFixedTransform& Other) const;FString ToString() const;static FFixedTransform BlendFromIdentity(const FFixedTransform& Source, FFixedPoint PositionBlend, FFixedPoint RotationBlend, FFixedPoint ScaleBlend);Blend between two transforms with separate position/rotation/scale blend factors.FFixedTransform GetLocationOnly() const;Get a transform that only has the Location component.FFixedTransform GetRotationOnly() const;Get a transform that only has the rotation component.void AddToLocation(const FFixedVector& DeltaLocation);Add a Location offset to this transform.void AccumulateRotation(const FFixedQuaternion& DeltaRotation);Accumulate another transform’s rotation on top of this one.void SetLocationAndScale(const FFixedVector& NewLocation, const FFixedVector& NewScale);Set the Location while keeping rotation and scale.