FVector4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector4 implements Struct<FVector4>, Serializable
Een float-vector met vier componenten.
Constructors
| Constructor | Beschrijving |
|---|---|
| FVector4(float x, float y, float z, float w) | Initialiseert een nieuw exemplaar van de FVector4. |
| FVector4(float x, float y, float z) | Initialiseert een nieuw exemplaar van de FVector4. |
| FVector4(Color color) | Initialiseert een nieuw exemplaar van de FVector4. |
| FVector4(Vector4 vec) | Initialiseert een nieuw exemplaar van de FVector4. |
| FVector4(Vector3 vec) | Initialiseert een nieuw exemplaar van de FVector4. |
| FVector4(Vector3 vec, float w) | Initialiseert een nieuw exemplaar van de FVector4. |
| FVector4() |
Velden
| Veld | Beschrijving |
|---|---|
| w | De w‑component. |
| x | De x-component. |
| y | De y-component. |
| z | De z-component. |
Methoden
| Methode | Beschrijving |
|---|---|
| add(FVector4 lhs, FVector4 rhs) | Operatoroverbelasting voor + |
| clone() | |
| copyFrom(FVector4 src) | |
| create(FVector4 v) | Expliciete conversie‑operator om Vector4 te casten naar FVector4 |
| equals(Object obj) | |
| getClass() | |
| hashCode() | |
| mul(FVector4 lhs, FVector4 rhs) | Operatoroverbelasting voor * |
| notify() | |
| notifyAll() | |
| sub(FVector4 lhs, FVector4 rhs) | Operatoroverbelasting voor - (minus) |
| toString() | Retourneert een string die de FVector4 vertegenwoordigt. |
| 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)
Initialiseert een nieuw exemplaar van de FVector4.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| x | float | X‑component |
| y | float | Y‑component |
| z | float | Z‑component |
| w | float | W‑component |
FVector4(float x, float y, float z)
public FVector4(float x, float y, float z)
Initialiseert een nieuw exemplaar van de FVector4.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| x | float | X‑component |
| y | float | Y‑component |
| z | float | Z‑component |
FVector4(Color color)
public FVector4(Color color)
Initialiseert een nieuw exemplaar van de FVector4.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| kleur | java.awt.Color |
FVector4(Vector4 vec)
public FVector4(Vector4 vec)
Initialiseert een nieuw exemplaar van de FVector4.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| vec | Vector4 |
FVector4(Vector3 vec)
public FVector4(Vector3 vec)
Initialiseert een nieuw exemplaar van de FVector4.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| vec | Vector3 |
FVector4(Vector3 vec, float w)
public FVector4(Vector3 vec, float w)
Initialiseert een nieuw exemplaar van de FVector4.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| vec | Vector3 | |
| w | float |
FVector4()
public FVector4()
w
public float w
De w‑component.
x
public float x
De x-component.
y
public float y
De y-component.
z
public float z
De z-component.
add(FVector4 lhs, FVector4 rhs)
public static FVector4 add(FVector4 lhs, FVector4 rhs)
Operatoroverbelasting voor +
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| lhs | FVector4 | De linker vector |
| rhs | FVector4 | De rechter vector |
Returns: FVector4 - Result vector
clone()
public FVector4 clone()
Kloon huidige instantie
Returns: FVector4
copyFrom(FVector4 src)
public void copyFrom(FVector4 src)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| src | FVector4 |
create(FVector4 v)
public static Vector4 create(FVector4 v)
Expliciete conversie‑operator om Vector4 te casten naar FVector4
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| v | FVector4 |
Returns: Vector4
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| 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)
Operatoroverbelasting voor *
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| lhs | FVector4 | De linker vector |
| rhs | FVector4 | De rechter vector |
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)
Operatoroverbelasting voor - (minus)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| lhs | FVector4 | De linker vector |
| rhs | FVector4 | De rechter vector |
Returns: FVector4 - Result vector
toString()
public String toString()
Retourneert een string die de FVector4 vertegenwoordigt.
Returns: java.lang.String - De stringrepresentatie van de huidige vector.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| arg0 | long | |
| arg1 | int |