FVector4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector4 implements Struct<FVector4>, Serializable
Vektor float dengan empat komponen.
Konstruktor
| Konstruktor | Deskripsi |
|---|---|
| FVector4(float x, float y, float z, float w) | Menginisialisasi instance baru dari FVector4. |
| FVector4(float x, float y, float z) | Menginisialisasi instance baru dari FVector4. |
| FVector4(Color color) | Menginisialisasi instance baru dari FVector4. |
| FVector4(Vector4 vec) | Menginisialisasi instance baru dari FVector4. |
| FVector4(Vector3 vec) | Menginisialisasi instance baru dari FVector4. |
| FVector4(Vector3 vec, float w) | Menginisialisasi instance baru dari FVector4. |
| FVector4() |
Bidang
| Bidang | Deskripsi |
|---|---|
| w | Komponen w. |
| x | Komponen x. |
| y | Komponen y. |
| z | Komponen z. |
Metode
| Metode | Deskripsi |
|---|---|
| add(FVector4 lhs, FVector4 rhs) | Overloading operator untuk +. |
| clone() | |
| copyFrom(FVector4 src) | |
| create(FVector4 v) | Operator konversi eksplisit untuk mengubah Vector4 menjadi FVector4 |
| equals(Object obj) | |
| getClass() | |
| hashCode() | |
| mul(FVector4 lhs, FVector4 rhs) | Overloading operator untuk *. |
| notify() | |
| notifyAll() | |
| sub(FVector4 lhs, FVector4 rhs) | Operator overloading untuk - (minus) |
| toString() | Mengembalikan string yang merepresentasikan FVector4 |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
FVector4(float x, float y, float z, float w)
public FVector4(float x, float y, float z, float w)
Menginisialisasi instance baru dari FVector4.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| x | float | Komponen X |
| y | float | Komponen Y |
| z | float | Komponen Z |
| w | float | Komponen W |
FVector4(float x, float y, float z)
public FVector4(float x, float y, float z)
Menginisialisasi instance baru dari FVector4.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| x | float | Komponen X |
| y | float | Komponen Y |
| z | float | Komponen Z |
FVector4(Color color)
public FVector4(Color color)
Menginisialisasi instance baru dari FVector4.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| warna | java.awt.Color |
FVector4(Vector4 vec)
public FVector4(Vector4 vec)
Menginisialisasi instance baru dari FVector4.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| vec | Vector4 |
FVector4(Vector3 vec)
public FVector4(Vector3 vec)
Menginisialisasi instance baru dari FVector4.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| vec | Vector3 |
FVector4(Vector3 vec, float w)
public FVector4(Vector3 vec, float w)
Menginisialisasi instance baru dari FVector4.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| vec | Vector3 | |
| w | float |
FVector4()
public FVector4()
w
public float w
Komponen w.
x
public float x
Komponen x.
y
public float y
Komponen y.
z
public float z
Komponen z.
add(FVector4 lhs, FVector4 rhs)
public static FVector4 add(FVector4 lhs, FVector4 rhs)
Overloading operator untuk +.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| lhs | FVector4 | Vektor kiri |
| rhs | FVector4 | Vektor kanan |
Returns: FVector4 - Result vector
clone()
public FVector4 clone()
Kloning instance saat ini
Returns: FVector4
copyFrom(FVector4 src)
public void copyFrom(FVector4 src)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| src | FVector4 |
create(FVector4 v)
public static Vector4 create(FVector4 v)
Operator konversi eksplisit untuk mengubah Vector4 menjadi FVector4
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| v | FVector4 |
Returns: Vector4
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public int hashCode()
Returns: int
mul(FVector4 lhs, FVector4 rhs)
public static FVector4 mul(FVector4 lhs, FVector4 rhs)
Overloading operator untuk *.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| lhs | FVector4 | Vektor kiri |
| rhs | FVector4 | Vektor kanan |
Returns: FVector4 - Result vector
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
sub(FVector4 lhs, FVector4 rhs)
public static FVector4 sub(FVector4 lhs, FVector4 rhs)
Operator overloading untuk - (minus)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| lhs | FVector4 | Vektor kiri |
| rhs | FVector4 | Vektor kanan |
Returns: FVector4 - Result vector
toString()
public String toString()
Mengembalikan string yang merepresentasikan FVector4
Returns: java.lang.String - Representasi string dari vektor saat ini.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | long | |
| arg1 | int |