public final class FVector4 extends java.lang.Object implements com.aspose.threed.Struct<FVector4>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
float |
w
The w component.
|
float |
x
The x component.
|
float |
y
The y component.
|
float |
z
The z component.
|
| Constructor and Description |
|---|
FVector4() |
FVector4(float x,
float y,
float z)
Initializes a new instance of the
FVector4. |
FVector4(float x,
float y,
float z,
float w)
Initializes a new instance of the
FVector4. |
FVector4(Vector3 vec)
Initializes a new instance of the
FVector4. |
FVector4(Vector3 vec,
float w)
Initializes a new instance of the
FVector4. |
FVector4(Vector4 vec)
Initializes a new instance of the
FVector4. |
| Modifier and Type | Method and Description |
|---|---|
static FVector4 |
add(FVector4 lhs,
FVector4 rhs)
Operator overloading for +
|
FVector4 |
clone() |
void |
copyFrom(FVector4 src) |
static Vector4 |
create(FVector4 v)
Explicit conversion operator to cast Vector4 to FVector4
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static FVector4 |
mul(FVector4 lhs,
FVector4 rhs)
Operator overloading for *
|
static FVector4 |
sub(FVector4 lhs,
FVector4 rhs)
Operator overloading for - (minus)
|
java.lang.String |
toString()
Returns a string that represents the
FVector4 |
public float x
public float y
public float z
public float w
public FVector4(float x,
float y,
float z,
float w)
FVector4.public FVector4(float x,
float y,
float z)
FVector4.public FVector4()
public static Vector4 create(FVector4 v)
v - public static FVector4 add(FVector4 lhs, FVector4 rhs)
lhs - The left vectorrhs - The right vectorpublic static FVector4 sub(FVector4 lhs, FVector4 rhs)
lhs - The left vectorrhs - The right vectorpublic static FVector4 mul(FVector4 lhs, FVector4 rhs)
lhs - The left vectorrhs - The right vectorpublic java.lang.String toString()
FVector4toString in class java.lang.Objectpublic FVector4 clone()
clone in interface com.aspose.threed.Struct<FVector4>clone in class java.lang.Objectpublic void copyFrom(FVector4 src)
copyFrom in interface com.aspose.threed.Struct<FVector4>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object