FVector4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector4 implements Struct<FVector4>, Serializable
Ein Float-Vektor mit vier Komponenten.
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| FVector4(float x, float y, float z, float w) | Initialisiert eine neue Instanz von FVector4. |
| FVector4(float x, float y, float z) | Initialisiert eine neue Instanz von FVector4. |
| FVector4(Color color) | Initialisiert eine neue Instanz von FVector4. |
| FVector4(Vector4 vec) | Initialisiert eine neue Instanz von FVector4. |
| FVector4(Vector3 vec) | Initialisiert eine neue Instanz von FVector4. |
| FVector4(Vector3 vec, float w) | Initialisiert eine neue Instanz von FVector4. |
| FVector4() |
Felder
| Feld | Beschreibung |
|---|---|
| w | Die w‑Komponente. |
| x | Die x‑Komponente. |
| y | Die y‑Komponente. |
| z | Die z‑Komponente. |
Methoden
| Methode | Beschreibung |
|---|---|
| add(FVector4 lhs, FVector4 rhs) | Operatorüberladung für + |
| clone() | |
| copyFrom(FVector4 src) | |
| create(FVector4 v) | Expliziter Konvertierungsoperator, um Vector4 in FVector4 zu casten |
| equals(Object obj) | |
| getClass() | |
| hashCode() | |
| mul(FVector4 lhs, FVector4 rhs) | Operatorüberladung für * |
| notify() | |
| notifyAll() | |
| sub(FVector4 lhs, FVector4 rhs) | Operatorüberladung für - (Minus) |
| toString() | Gibt eine Zeichenkette zurück, die das FVector4 darstellt. |
| 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)
Initialisiert eine neue Instanz von FVector4.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| x | float | X‑Komponente |
| y | float | Y‑Komponente |
| z | float | Z‑Komponente |
| w | float | W‑Komponente |
FVector4(float x, float y, float z)
public FVector4(float x, float y, float z)
Initialisiert eine neue Instanz von FVector4.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| x | float | X‑Komponente |
| y | float | Y‑Komponente |
| z | float | Z‑Komponente |
FVector4(Color color)
public FVector4(Color color)
Initialisiert eine neue Instanz von FVector4.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Farbe | java.awt.Color |
FVector4(Vector4 vec)
public FVector4(Vector4 vec)
Initialisiert eine neue Instanz von FVector4.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| vec | Vector4 |
FVector4(Vector3 vec)
public FVector4(Vector3 vec)
Initialisiert eine neue Instanz von FVector4.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| vec | Vector3 |
FVector4(Vector3 vec, float w)
public FVector4(Vector3 vec, float w)
Initialisiert eine neue Instanz von FVector4.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| vec | Vector3 | |
| w | float |
FVector4()
public FVector4()
w
public float w
Die w‑Komponente.
x
public float x
Die x‑Komponente.
y
public float y
Die y‑Komponente.
z
public float z
Die z‑Komponente.
add(FVector4 lhs, FVector4 rhs)
public static FVector4 add(FVector4 lhs, FVector4 rhs)
Operatorüberladung für +
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| lhs | FVector4 | Der linke Vektor |
| rhs | FVector4 | Der rechte Vektor |
Returns: FVector4 - Result vector
clone()
public FVector4 clone()
Klone aktuelle Instanz
Returns: FVector4
copyFrom(FVector4 src)
public void copyFrom(FVector4 src)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| src | FVector4 |
create(FVector4 v)
public static Vector4 create(FVector4 v)
Expliziter Konvertierungsoperator, um Vector4 in FVector4 zu casten
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| v | FVector4 |
Returns: Vector4
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| 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)
Operatorüberladung für *
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| lhs | FVector4 | Der linke Vektor |
| rhs | FVector4 | Der rechte Vektor |
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überladung für - (Minus)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| lhs | FVector4 | Der linke Vektor |
| rhs | FVector4 | Der rechte Vektor |
Returns: FVector4 - Result vector
toString()
public String toString()
Gibt eine Zeichenkette zurück, die das FVector4 darstellt.
Returns: java.lang.String - Die Zeichenkettenrepräsentation des aktuellen Vektors.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long | |
| arg1 | int |