Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/TransformCalculus3D.h |
Include |
#include "Math/TransformCalculus3D.h" |
class FScale
Transform calculus for 3D types. Since UE4 already has existing 3D transform types, this is mostly a set of adapter overloads for the primitive operations requires by the transform calculus framework.
The following types are adapted.
float -> represents a uniform scale.
FScale -> represents a 3D non-uniform scale.
FVector -> represents a 3D translation.
FRotator -> represents a pure rotation.
FQuat -> represents a pure rotation.
FMatrix -> represents a general 3D homogeneous transform. Represents a 3D non-uniform scale (to disambiguate from an FVector, which is used for translation).
Serves as a good base example of how to write a class that supports the basic transform calculus operations.
Name | Description | ||
---|---|---|---|
|
const FScale |
Concatenate ( |
Concatenate two scales. |
|
const FVecto... |
GetVector() |
Access to the underlying FVector that stores the scale. |
|
const FScale |
Inverse() |
Invert the scale. |