FShear2D

Represents a 2D shear: [1 YY] [XX 1] XX represents a shear parallel to the X axis.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h

Include

#include "Math/TransformCalculus2D.h"

Syntax

class FShear2D

Remarks

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.

Constructors

Name Description

Public function

FShear2D()

  1. initialize to an identity.

Public function

FShear2D

(
    const FVector2D& InShear
)

Ctor.

Public function

FShear2D

(
    float ShearX,
    float ShearY
)

  1. initialize from a set of shears parallel to the X and Y axis, respectively.

Functions

Name Description

Public function Const

FMatrix2x2

 

Concatenate

(
    const FShear2D& RHS
)

Concatenate two shears.

Public function Static

FShear2D

 

FromShearAngles

(
    const FVector2D& InShearAngles
)

Generates a shear structure based on angles instead of slope.

Public function Const

const FVecto...

 

GetVector()

Access to the underlying FVector2D that stores the scale.

Public function Const

FMatrix2x2

 

Inverse()

Invert the shear.

Public function Const

FVector2D

 

TransformPoint

(
    const FVector2D& Point
)

Transform 2D Point [X Y] * [1 YY] == [X+Y*XX Y+X*YY] [XX 1]

Public function Const

FVector2D

 

TransformVector

(
    const FVector2D& Vector
)

Transform 2D Vector

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FShear2D& Other
)

Inequality.

Public function Const

bool

 

operator==

(
    const FShear2D& Other
)

Equality.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss