public final class FVector2 extends Object implements com.aspose.csporter.helpers.Struct<FVector2>, Serializable
Modifier and Type | Field and Description |
---|---|
float |
x
The x component.
|
float |
y
The y component.
|
Constructor and Description |
---|
FVector2() |
FVector2(float x,
float y)
Initializes a new instance of the
FVector2 . |
FVector2(Vector2 vec)
Initializes a new instance of the
FVector2 . |
Modifier and Type | Method and Description |
---|---|
FVector2 |
clone() |
void |
copyFrom(FVector2 src) |
boolean |
equals(FVector2 rhs)
Check if two vectors are equal
|
boolean |
equals(Object obj)
Check if two vectors are equal
|
int |
hashCode()
Gets the hash code of this instance
|
static boolean |
op_eq(FVector2 a,
FVector2 b)
== Operator overloading
|
static boolean |
op_ne(FVector2 a,
FVector2 b)
!= Operator overloading
|
static FVector2 |
sub(FVector2 a,
FVector2 b)
- Operator overloading
|
String |
toString()
Returns a string that represents the
FVector2 |
public FVector2(float x, float y)
FVector2
.public FVector2()
public boolean equals(FVector2 rhs)
rhs
- public boolean equals(Object obj)
public static boolean op_eq(FVector2 a, FVector2 b)
a
- b
- public static boolean op_ne(FVector2 a, FVector2 b)
a
- b
- public FVector2 clone()
public void copyFrom(FVector2 src)
copyFrom
in interface com.aspose.csporter.helpers.Struct<FVector2>
Copyright © 2018. All rights reserved.