|
| | FDeprecateVector2DParameter (float InX, float InY) |
| |
| | FDeprecateVector2DParameter (const FVector2f &InValue) |
| |
| | FDeprecateVector2DParameter (const FDeprecateVector2DResult &InValue) |
| |
| | FDeprecateVector2DParameter (double InX, double InY) |
| |
| | FDeprecateVector2DParameter (const FVector2d &InValue) |
| |
| | FDeprecateVector2DParameter (const FIntPoint &InValue) |
| |
| | TVector2 ()=default |
| |
| UE_FORCEINLINE_HINT | TVector2 (float InX, float InY) |
| |
| UE_FORCEINLINE_HINT | TVector2 (float InF) |
| |
| UE_FORCEINLINE_HINT | TVector2 (TIntPoint< IntType > InPos) |
| |
| | TVector2 (TIntVector2< IntType > V) |
| |
| UE_FORCEINLINE_HINT | TVector2 (EForceInit) |
| |
| UE_FORCEINLINE_HINT | TVector2 (ENoInit) |
| |
| | TVector2 (const TVector< float > &V) |
| |
| | TVector2 (const TVector4< float > &V) |
| |
| | TVector2 (const TVector2< FArg > &From) |
| |
| | TVector2 (TIntPoint< IntType > InPos) |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator+ (const TVector2< float > &V) const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator+ (float A) const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator- (const TVector2< float > &V) const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator- (float A) const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator- () const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator* (float Scale) const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator* (const TVector2< float > &V) const |
| |
| TVector2< float > | operator/ (float Scale) const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | operator/ (const TVector2< float > &V) const |
| |
| UE_FORCEINLINE_HINT float | operator| (const TVector2< float > &V) const |
| |
| UE_FORCEINLINE_HINT float | operator^ (const TVector2< float > &V) const |
| |
| bool | operator== (const TVector2< float > &V) const |
| |
| bool | operator!= (const TVector2< float > &V) const |
| |
| bool | ComponentwiseAllLessThan (const TVector2< float > &Other) const |
| |
| bool | ComponentwiseAllGreaterThan (const TVector2< float > &Other) const |
| |
| bool | ComponentwiseAllLessOrEqual (const TVector2< float > &Other) const |
| |
| bool | ComponentwiseAllGreaterOrEqual (const TVector2< float > &Other) const |
| |
| TVector2< float > | operator+= (const TVector2< float > &V) |
| |
| TVector2< float > | operator-= (const TVector2< float > &V) |
| |
| TVector2< float > | operator*= (float Scale) |
| |
| TVector2< float > | operator*= (const TVector2< float > &V) |
| |
| TVector2< float > | operator/= (float V) |
| |
| TVector2< float > | operator/= (const TVector2< float > &V) |
| |
| float & | operator[] (int32 Index) |
| |
| float | operator[] (int32 Index) const |
| |
| float & | Component (int32 Index) |
| |
| float | Component (int32 Index) const |
| |
| bool | IsValidIndex (int32 Index) const |
| |
| bool | Equals (const TVector2< float > &V, float Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| void | Set (float InX, float InY) |
| |
| float | GetMax () const |
| |
| float | GetAbsMax () const |
| |
| float | GetMin () const |
| |
| TVector2< float > | ComponentMin (const TVector2< float > &Other) const |
| |
| TVector2< float > | ComponentMax (const TVector2< float > &Other) const |
| |
| float | Size () const |
| |
| UE_FORCEINLINE_HINT float | Length () const |
| |
| float | SizeSquared () const |
| |
| UE_FORCEINLINE_HINT float | SquaredLength () const |
| |
| float | Dot (const TVector2< float > &V2) const |
| |
| TVector2< float > | GetRotated (float AngleDeg) const |
| |
| TVector2< float > | GetSafeNormal (float Tolerance=UE_SMALL_NUMBER) const |
| |
| bool | Normalize (float Tolerance=UE_SMALL_NUMBER) |
| |
| bool | IsNearlyZero (float Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| void | ToDirectionAndLength (TVector2< float > &OutDir, float &OutLength) const |
| |
| void | ToDirectionAndLength (TVector2< float > &OutDir, FArg &OutLength) const |
| |
| bool | IsZero () const |
| |
| FIntPoint | IntPoint () const |
| |
| TVector2< float > | RoundToVector () const |
| |
| TVector2< float > | ClampAxes (float MinAxisVal, float MaxAxisVal) const |
| |
| TVector2< float > | GetClampedToSize (float Min, float Max) const |
| |
| TVector2< float > | GetClampedToMaxSize (float MaxSize) const |
| |
| TVector2< float > | GetSignVector () const |
| |
| UE_FORCEINLINE_HINT TVector2< float > | GetAbs () const |
| |
| FString | ToString () const |
| |
| bool | InitFromString (const FString &InSourceString) |
| |
| bool | Serialize (FArchive &Ar) |
| |
| bool | Serialize (FStructuredArchive::FSlot Slot) |
| |
| bool | SerializeFromMismatchedTag (FName StructTag, FArchive &Ar) |
| |
| UE_FORCEINLINE_HINT void | DiagnosticCheckNaN () |
| |
| bool | ContainsNaN () const |
| |
| bool | NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess) |
| |
| TVector< float > | SphericalToUnitCartesian () const |
| |
Defines a Slate vector used as a function parameter that was previously an FVector2D but is in the process of being deprecated in favor of FVector2f. Once deprecated completely, usages will be converted to using FVector2f directly.
This type is implicitly constructible from both single and double precision vectors and scalars but will emit deprecation warnings for double-precision types where UE_REPORT_SLATE_VECTOR_DEPRECATION is enabled. It is not (and will never be) convertible to double precision types.
This type should only be used as a parameter (not a return type), where FDeprecateVector2DResult is preferred so it can interop with legacy code that still requires conversion to FVector2d.
NOTE: DO NOT USE THIS TYPE DIRECTLY IN CLIENT CODE - ALL USAGES SHOULD USE FVector2f or float