Represents a 2D transformation in the following order: scale then translate. 更多...
#include <SlateLayoutTransform.h>
Public 成员函数 | |
| FSlateLayoutTransform | Concatenate (const FSlateLayoutTransform &RHS) const |
| This works by transforming the origin through LHS then RHS. 更多... | |
| FSlateLayoutTransform (const FVector2D &InTranslation) | |
| Ctor from a 2D translation followed by a scale. 更多... | |
| FSlateLayoutTransform (float InScale=1.0f, const FVector2D &InTranslation=FVector2D(ForceInit)) | |
| Ctor from a scale followed by translate. 更多... | |
| float | GetScale () const |
| Access to the scale. | |
| const FVector2D & | GetTranslation () const |
| Access to the 2D translation | |
| FSlateLayoutTransform | Inverse () const |
| Invert the transform/scale. | |
| bool | operator!= (const FSlateLayoutTransform &Other) const |
| Inequality. | |
| bool | operator== (const FSlateLayoutTransform &Other) const |
| Equality. | |
| FMatrix | ToMatrix () const |
| Support for converting to an FMatrix. | |
| FVector2D | TransformPoint (const FVector2D &Point) const |
| 2D transform support. | |
| FVector2D | TransformVector (const FVector2D &Vector) const |
| 2D transform support. | |
Represents a 2D transformation in the following order: scale then translate.
Used by FGeometry for it's layout transformations.
Matrix form looks like: [Vx Vy 1] * [ S 0 0 ] [ 0 S 0 ] [ Tx Ty 1 ]
|
inlineexplicit |
Ctor from a scale followed by translate.
Shortcut to Concatenate(InScale, InTranslation).
|
inlineexplicit |
Ctor from a 2D translation followed by a scale.
Shortcut to Concatenate(InTranslation, InScale). While this is the opposite order we internally store them, we can represent this correctly.
|
inline |
This works by transforming the origin through LHS then RHS.
In matrix form, looks like this: [ Sa 0 0 ] [ Sb 0 0 ] [ 0 Sa 0 ] * [ 0 Sb 0 ] [ Tax Tay 1 ] [ Tbx Tby 1 ]