Ark Server API (ASA) - Wiki
|
#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 |
Private Attributes | |
Vector2Type | Scale |
Represents a 2D non-uniform scale (to disambiguate from an FVector2D, which is used for translation)
Definition at line 111 of file TransformCalculus2D.h.
Definition at line 116 of file TransformCalculus2D.h.
Definition at line 117 of file TransformCalculus2D.h.
Ctor. initialize to an identity scale, 1.0.
Definition at line 120 of file TransformCalculus2D.h.
Ctor. initialize from a uniform scale.
Definition at line 122 of file TransformCalculus2D.h.
Ctor. initialize from a non-uniform scale.
Definition at line 124 of file TransformCalculus2D.h.
|
inlineexplicit |
Ctor. initialize from an FVector defining the 3D scale.
Definition at line 127 of file TransformCalculus2D.h.
Concatenate two scales.
Definition at line 144 of file TransformCalculus2D.h.
Access to the underlying FVector2D that stores the scale.
Definition at line 167 of file TransformCalculus2D.h.
Invert the scale.
Definition at line 149 of file TransformCalculus2D.h.
Inequality.
Definition at line 161 of file TransformCalculus2D.h.
Equality.
Definition at line 155 of file TransformCalculus2D.h.
|
inline |
Transform 2D Point
Definition at line 131 of file TransformCalculus2D.h.
|
inline |
Transform 2D Vector
Definition at line 138 of file TransformCalculus2D.h.
|
private |
Underlying storage of the 2D scale.
Definition at line 171 of file TransformCalculus2D.h.