Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h |
| Include | #include "Math/TransformCalculus2D.h" |
Syntax
template<typename T>
class TScale2
Remarks
Represents a 2D non-uniform scale (to disambiguate from an FVector2D, which is used for translation)
Constructors
| Type | Name | Description | |
|---|---|---|---|
TScale2 () |
Ctor. initialize to an identity scale, 1.0. | ||
TScale2
(
T InScale |
Ctor. initialize from a uniform scale. | ||
TScale2
(
const UE::Math::TVector2< ArgType >& InScale |
Ctor. initialize from an FVector defining the 3D scale. | ||
TScale2
(
T InScaleX, |
Ctor. initialize from a non-uniform scale. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TScale2 | Concatenate
(
const TScale2& RHS |
Concatenate two scales. | |
| const Vector2Type & | GetVector () |
Access to the underlying FVector2D that stores the scale. | |
| TScale2 | Inverse () |
Invert the scale. | |
| UE::Math::TVector2< ArgType > | TransformPoint
(
const UE::Math::TVector2< ArgType >& Point |
Transform 2D Point | |
| UE::Math::TVector2< ArgType > | TransformVector
(
const UE::Math::TVector2< ArgType >& Vector |
Transform 2D Vector |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const TScale2& Other |
Inequality. | |
| bool | operator==
(
const TScale2& Other |
Equality. |
Typedefs
| Name | Description |
|---|---|
| FReal | |
| Vector2Type |