Navigation
API > API/Runtime > API/Runtime/Core
Represents a 2D shear: [1 YY] [XX 1] XX represents a shear parallel to the X axis. YY represents a shear parallel to the Y axis.
| Name | TShear2 |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h |
| Include Path | #include "Math/TransformCalculus2D.h" |
Syntax
template<typename T>
class TShear2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TShear2 () |
Ctor. initialize to an identity. | Math/TransformCalculus2D.h | |
TShear2
(
const UE::Math::TVector2< VType >& InShear |
Ctor. | Math/TransformCalculus2D.h | |
TShear2
(
T ShearX, |
Ctor. initialize from a set of shears parallel to the X and Y axis, respectively. | Math/TransformCalculus2D.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FReal | T | Math/TransformCalculus2D.h | |
| Vector2Type | UE::Math::TVector2< T > | Math/TransformCalculus2D.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Shear | Vector2Type | Underlying storage of the 2D shear. | Math/TransformCalculus2D.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMatrix2x2< T > Concatenate
(
const TShear2& RHS |
Concatenate two shears. | Math/TransformCalculus2D.h | |
const Vector2Type & GetVector() |
Access to the underlying FVector2D that stores the scale. | Math/TransformCalculus2D.h | |
TMatrix2x2< T > Inverse () |
Invert the shear. | Math/TransformCalculus2D.h | |
UE::Math::TVector2< ArgType > TransformPoint
(
const UE::Math::TVector2< ArgType >& Point |
Transform 2D Point [X Y] * [1 YY] == [X+Y*XX Y+X*YY] [XX 1] | Math/TransformCalculus2D.h | |
UE::Math::TVector2< ArgType > TransformVector
(
const UE::Math::TVector2< ArgType >& Vector |
Transform 2D Vector | Math/TransformCalculus2D.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TShear2 FromShearAngles
(
const UE::Math::TVector2< VType >& InShearAngles |
Generates a shear structure based on angles instead of slope. | Math/TransformCalculus2D.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const TShear2& Other |
Inequality. | Math/TransformCalculus2D.h | |
bool operator==
(
const TShear2& Other |
Equality. | Math/TransformCalculus2D.h |