![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TransformCalculus2D.h>
Public Types | |
| using | FReal = T |
| using | Vector2Type = UE::Math::TVector2< T > |
Public Member Functions | |
| TScale2 () | |
| TScale2 (T InScale) | |
| TScale2 (T InScaleX, T InScaleY) | |
| template<typename ArgType > | |
| TScale2 (const UE::Math::TVector2< ArgType > &InScale) | |
| template<typename ArgType > | |
| UE::Math::TVector2< ArgType > | TransformPoint (const UE::Math::TVector2< ArgType > &Point) const |
| template<typename ArgType > | |
| UE::Math::TVector2< ArgType > | TransformVector (const UE::Math::TVector2< ArgType > &Vector) const |
| TScale2 | Concatenate (const TScale2 &RHS) const |
| TScale2 | Inverse () const |
| bool | operator== (const TScale2 &Other) const |
| bool | operator!= (const TScale2 &Other) const |
| const Vector2Type & | GetVector () const |
Represents a 2D non-uniform scale (to disambiguate from an FVector2D, which is used for translation)
| using TScale2< T >::Vector2Type = UE::Math::TVector2<T> |
Ctor. initialize from a uniform scale.
Ctor. initialize from a non-uniform scale.
|
inlineexplicit |
Ctor. initialize from an FVector defining the 3D scale.
Concatenate two scales.
|
inline |
Access to the underlying FVector2D that stores the scale.
|
inline |
Inequality.
Equality.
|
inline |
Transform 2D Point
|
inline |
Transform 2D Vector