FVector2
Overview
FVector2 is a struct in Aspose.3D FOSS for .NET.
Inherits from: IComparable<FVector2>, IEquatable<FVector2>.
FVector2.FVector2 creates a 2‑D vector with the given x and y float components.
This struct provides 5 methods for working with FVector2 objects in .NET programs.
Available methods include: CompareTo, Equals, FVector2, GetHashCode, ToString.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
FVector2(x: float, y: float) | Creates a 2‑D vector from the X and Y components of an FVector3 |
FVector2(vec: FVector3) | |
FVector2(vec: Vector2) | |
CompareTo(other: FVector2) | Compares this vector to another FVector2 for ordering |
Equals(rhs: FVector2) | Determines equality with another object, returning true if it is an FVector2 with same components |
Equals(obj: object?) | |
GetHashCode() | Returns a hash code based on the vector’s components |
ToString() | Returns a string representation of the vector’s components |