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(java.awt.Color color)
Initializes a new instance of the
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) |
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(java.awt.Color color)
FVector4
.public FVector4()
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()
FVector4
toString
in class java.lang.Object
public FVector4 clone()
clone
in interface com.aspose.threed.Struct<FVector4>
clone
in class java.lang.Object
public void copyFrom(FVector4 src)
copyFrom
in interface com.aspose.threed.Struct<FVector4>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object