public final class FVector3 extends Object implements com.aspose.csporter.helpers.Struct<FVector3>, Serializable
Modifier and Type | Field and Description |
---|---|
static FVector3 |
UNIT_SCALE
The unit scale vector with all components are all 1
|
float |
x
The x component.
|
float |
y
The y component.
|
float |
z
The y component.
|
static FVector3 |
ZERO
The Zero vector.
|
Constructor and Description |
---|
FVector3() |
FVector3(float x,
float y,
float z)
Initializes a new instance of the
FVector3 . |
FVector3(Vector3 vec)
Initializes a new instance of the
FVector3 . |
FVector3(Vector4 vec)
Initializes a new instance of the
FVector4 . |
Modifier and Type | Method and Description |
---|---|
static FVector3 |
add(FVector3 a,
FVector3 b)
+ Operator overloading
|
FVector3 |
clone() |
void |
copyFrom(FVector3 src) |
FVector3 |
cross(FVector3 rhs)
Cross product of two vectors
|
boolean |
equals(Object obj) |
int |
hashCode() |
static FVector3 |
mul(FVector3 a,
float b)
* Operator overloading
|
static FVector3 |
negative(FVector3 a)
- Operator overloading
|
FVector3 |
normalize()
Normalizes this instance.
|
static FVector3 |
sub(FVector3 a,
FVector3 b)
- Operator overloading
|
String |
toString()
Returns a string that represents the
FVector3 |
public static final FVector3 ZERO
public static final FVector3 UNIT_SCALE
public float x
public float y
public float z
public FVector3(float x, float y, float z)
FVector3
.public FVector3()
public FVector3 normalize()
public FVector3 cross(FVector3 rhs)
rhs
- Right hand side value.FVector3
s.public FVector3 clone()
public void copyFrom(FVector3 src)
copyFrom
in interface com.aspose.csporter.helpers.Struct<FVector3>
Copyright © 2018. All rights reserved.