FVector2
Overview
FVector2 is a struct in Aspose.3D FOSS for .NET.
Inherits from: IComparable<FVector2>, IEquatable<FVector2>.
FVector2.FVector2 creates a vector with given X and Y float components.
Methods
| Signature | Description |
|---|---|
FVector2(x: float, y: float) | Creates a 2D vector from a FVector3 by discarding the Z component |
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, 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 |