FVector4

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.csporter.helpers.Struct, java.io.Serializable

public final class FVector4 implements Struct<FVector4>, Serializable

A float vector with four components.

Constructors

ConstructorDescription
FVector4(float x, float y, float z, float w)Initializes a new instance of the FVector4.
FVector4(float x, float y, float z)Initializes a new instance of the FVector4.
FVector4(Color color)Initializes a new instance of the FVector4.
FVector4(Vector4 vec)Initializes a new instance of the FVector4.
FVector4(Vector3 vec)Initializes a new instance of the FVector4.
FVector4(Vector3 vec, float w)Initializes a new instance of the FVector4.
FVector4()

Fields

FieldDescription
wThe w component.
xThe x component.
yThe y component.
zThe z component.

Methods

MethodDescription
add(FVector4 lhs, FVector4 rhs)Operator overloading for +
clone()
copyFrom(FVector4 src)
create(FVector4 v)Explicit conversion operator to cast Vector4 to FVector4
equals(Object obj)
getClass()
hashCode()
mul(FVector4 lhs, FVector4 rhs)Operator overloading for *
notify()
notifyAll()
sub(FVector4 lhs, FVector4 rhs)Operator overloading for - (minus)
toString()Returns a string that represents the 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)

Initializes a new instance of the FVector4.

Parameters:

ParameterTypeDescription
xfloat
yfloat
zfloat
wfloat

FVector4(float x, float y, float z)

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

Initializes a new instance of the FVector4.

Parameters:

ParameterTypeDescription
xfloat
yfloat
zfloat

FVector4(Color color)

public FVector4(Color color)

Initializes a new instance of the FVector4.

Parameters:

ParameterTypeDescription
colorjava.awt.Color

FVector4(Vector4 vec)

public FVector4(Vector4 vec)

Initializes a new instance of the FVector4.

Parameters:

ParameterTypeDescription
vecVector4

FVector4(Vector3 vec)

public FVector4(Vector3 vec)

Initializes a new instance of the FVector4.

Parameters:

ParameterTypeDescription
vecVector3

FVector4(Vector3 vec, float w)

public FVector4(Vector3 vec, float w)

Initializes a new instance of the FVector4.

Parameters:

ParameterTypeDescription
vecVector3
wfloat

FVector4()

public FVector4()

w

public float w

The w component.

x

public float x

The x component.

y

public float y

The y component.

z

public float z

The z component.

add(FVector4 lhs, FVector4 rhs)

public static FVector4 add(FVector4 lhs, FVector4 rhs)

Operator overloading for +

Parameters:

ParameterTypeDescription
lhsFVector4The left vector
rhsFVector4The right vector

Returns: FVector4 - Result vector

clone()

public FVector4 clone()

Returns: FVector4

copyFrom(FVector4 src)

public void copyFrom(FVector4 src)

Parameters:

ParameterTypeDescription
srcFVector4

create(FVector4 v)

public static Vector4 create(FVector4 v)

Explicit conversion operator to cast Vector4 to FVector4

Parameters:

ParameterTypeDescription
vFVector4

Returns: Vector4

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParameterTypeDescription
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)

Operator overloading for *

Parameters:

ParameterTypeDescription
lhsFVector4The left vector
rhsFVector4The right 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)

Operator overloading for - (minus)

Parameters:

ParameterTypeDescription
lhsFVector4The left vector
rhsFVector4The right vector

Returns: FVector4 - Result vector

toString()

public String toString()

Returns a string that represents the FVector4

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int