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

ConstructeurDescription
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

ChampDescription
wLe composant w.
xLe composant x.
yLe composant y.
zLe composant z.

Méthodes

MéthodeDescription
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ètreTypeDescription
xfloatComposant X
yfloatComposant Y
zfloatComposant Z
wfloatComposant W

FVector4(float x, float y, float z)

public FVector4(float x, float y, float z)

Initialise une nouvelle instance de FVector4.

Parameters:

ParamètreTypeDescription
xfloatComposant X
yfloatComposant Y
zfloatComposant Z

FVector4(Color color)

public FVector4(Color color)

Initialise une nouvelle instance de FVector4.

Parameters:

ParamètreTypeDescription
couleurjava.awt.Color

FVector4(Vector4 vec)

public FVector4(Vector4 vec)

Initialise une nouvelle instance de FVector4.

Parameters:

ParamètreTypeDescription
vecVector4

FVector4(Vector3 vec)

public FVector4(Vector3 vec)

Initialise une nouvelle instance de FVector4.

Parameters:

ParamètreTypeDescription
vecVector3

FVector4(Vector3 vec, float w)

public FVector4(Vector3 vec, float w)

Initialise une nouvelle instance de FVector4.

Parameters:

ParamètreTypeDescription
vecVector3
wfloat

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ètreTypeDescription
lhsFVector4Le vecteur gauche
rhsFVector4Le 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ètreTypeDescription
srcFVector4

create(FVector4 v)

public static Vector4 create(FVector4 v)

Opérateur de conversion explicite pour convertir Vector4 en FVector4

Parameters:

ParamètreTypeDescription
vFVector4

Returns: Vector4

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParamètreTypeDescription
objjava.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ètreTypeDescription
lhsFVector4Le vecteur gauche
rhsFVector4Le 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ètreTypeDescription
lhsFVector4Le vecteur gauche
rhsFVector4Le 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ètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int