FVector4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector4 implements Struct<FVector4>, Serializable
Un vecteur flottant à quatre composants.
Constructeurs
| Constructeur | Description |
|---|---|
| FVector4(float x, float y, float z, float w) | Initialise une nouvelle instance de FVector4. |
| FVector4(float x, float y, float z) | Initialise une nouvelle instance de FVector4. |
| FVector4(Color color) | Initialise une nouvelle instance de FVector4. |
| FVector4(Vector4 vec) | Initialise une nouvelle instance de FVector4. |
| FVector4(Vector3 vec) | Initialise une nouvelle instance de FVector4. |
| FVector4(Vector3 vec, float w) | Initialise une nouvelle instance de FVector4. |
| FVector4() |
Champs
| Champ | Description |
|---|---|
| w | Le composant w. |
| x | Le composant x. |
| y | Le composant y. |
| z | Le composant z. |
Méthodes
| Méthode | Description |
|---|---|
| add(FVector4 lhs, FVector4 rhs) | Surcharge d’opérateur pour + |
| clone() | |
| copyFrom(FVector4 src) | |
| create(FVector4 v) | Opérateur de conversion explicite pour convertir Vector4 en FVector4 |
| equals(Object obj) | |
| getClass() | |
| hashCode() | |
| mul(FVector4 lhs, FVector4 rhs) | Surcharge d’opérateur pour * |
| notify() | |
| notifyAll() | |
| sub(FVector4 lhs, FVector4 rhs) | Surcharge d’opérateur pour - (moins) |
| toString() | Renvoie une chaîne qui représente le 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)
Initialise une nouvelle instance de FVector4.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| x | float | Composant X |
| y | float | Composant Y |
| z | float | Composant Z |
| w | float | Composant W |
FVector4(float x, float y, float z)
public FVector4(float x, float y, float z)
Initialise une nouvelle instance de FVector4.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| x | float | Composant X |
| y | float | Composant Y |
| z | float | Composant Z |
FVector4(Color color)
public FVector4(Color color)
Initialise une nouvelle instance de FVector4.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| couleur | java.awt.Color |
FVector4(Vector4 vec)
public FVector4(Vector4 vec)
Initialise une nouvelle instance de FVector4.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| vec | Vector4 |
FVector4(Vector3 vec)
public FVector4(Vector3 vec)
Initialise une nouvelle instance de FVector4.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| vec | Vector3 |
FVector4(Vector3 vec, float w)
public FVector4(Vector3 vec, float w)
Initialise une nouvelle instance de FVector4.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| vec | Vector3 | |
| w | float |
FVector4()
public FVector4()
w
public float w
Le composant w.
x
public float x
Le composant x.
y
public float y
Le composant y.
z
public float z
Le composant z.
add(FVector4 lhs, FVector4 rhs)
public static FVector4 add(FVector4 lhs, FVector4 rhs)
Surcharge d’opérateur pour +
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| lhs | FVector4 | Le vecteur gauche |
| rhs | FVector4 | Le vecteur droit |
Returns: FVector4 - Result vector
clone()
public FVector4 clone()
Cloner l’instance actuelle
Returns: FVector4
copyFrom(FVector4 src)
public void copyFrom(FVector4 src)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| src | FVector4 |
create(FVector4 v)
public static Vector4 create(FVector4 v)
Opérateur de conversion explicite pour convertir Vector4 en FVector4
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| v | FVector4 |
Returns: Vector4
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| 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)
Surcharge d’opérateur pour *
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| lhs | FVector4 | Le vecteur gauche |
| rhs | FVector4 | Le vecteur droit |
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)
Surcharge d’opérateur pour - (moins)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| lhs | FVector4 | Le vecteur gauche |
| rhs | FVector4 | Le vecteur droit |
Returns: FVector4 - Result vector
toString()
public String toString()
Renvoie une chaîne qui représente le FVector4
Returns: java.lang.String - La représentation sous forme de chaîne du vecteur actuel.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |