FVector4

Inheritance: java.lang.Object

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

public final class FVector4 implements Struct<FVector4>, Serializable

4 要素の float ベクトルです。

コンストラクタ

コンストラクタ説明
FVector4(float x, float y, float z, float w)FVector4 の新しいインスタンスを初期化します。
FVector4(float x, float y, float z)FVector4 の新しいインスタンスを初期化します。
FVector4(Color color)FVector4 の新しいインスタンスを初期化します。
FVector4(Vector4 vec)FVector4 の新しいインスタンスを初期化します。
FVector4(Vector3 vec)FVector4 の新しいインスタンスを初期化します。
FVector4(Vector3 vec, float w)FVector4 の新しいインスタンスを初期化します。
FVector4()

フィールド

フィールド説明
ww コンポーネント。
xx 成分。
yy 成分。
zz 成分。

メソッド

メソッド説明
add(FVector4 lhs, FVector4 rhs)+ の演算子オーバーロード
clone()
copyFrom(FVector4 src)
create(FVector4 v)Vector4 を FVector4 にキャストする明示的変換演算子
equals(Object obj)
getClass()
hashCode()
mul(FVector4 lhs, FVector4 rhs)* の演算子オーバーロード
notify()
notifyAll()
sub(FVector4 lhs, FVector4 rhs)「-」(マイナス) の演算子オーバーロード
toString()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)

FVector4 の新しいインスタンスを初期化します。

Parameters:

パラメーター説明
xfloatX コンポーネント
yfloatY コンポーネント
zfloatZ コンポーネント
wfloatW コンポーネント

FVector4(float x, float y, float z)

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

FVector4 の新しいインスタンスを初期化します。

Parameters:

パラメーター説明
xfloatX コンポーネント
yfloatY コンポーネント
zfloatZ コンポーネント

FVector4(Color color)

public FVector4(Color color)

FVector4 の新しいインスタンスを初期化します。

Parameters:

パラメーター説明
java.awt.Color

FVector4(Vector4 vec)

public FVector4(Vector4 vec)

FVector4 の新しいインスタンスを初期化します。

Parameters:

パラメーター説明
vecVector4

FVector4(Vector3 vec)

public FVector4(Vector3 vec)

FVector4 の新しいインスタンスを初期化します。

Parameters:

パラメーター説明
vecVector3

FVector4(Vector3 vec, float w)

public FVector4(Vector3 vec, float w)

FVector4 の新しいインスタンスを初期化します。

Parameters:

パラメーター説明
vecVector3
wfloat

FVector4()

public FVector4()

w

public float w

w コンポーネント。

x

public float x

x 成分。

y

public float y

y 成分。

z

public float z

z 成分。

add(FVector4 lhs, FVector4 rhs)

public static FVector4 add(FVector4 lhs, FVector4 rhs)
  • の演算子オーバーロード

Parameters:

パラメーター説明
lhsFVector4左ベクトル
rhsFVector4右ベクトル

Returns: FVector4 - Result vector

clone()

public FVector4 clone()

現在のインスタンスをクローンする

Returns: FVector4

copyFrom(FVector4 src)

public void copyFrom(FVector4 src)

Parameters:

パラメーター説明
srcFVector4

create(FVector4 v)

public static Vector4 create(FVector4 v)

Vector4 を FVector4 にキャストする明示的変換演算子

Parameters:

パラメーター説明
vFVector4

Returns: Vector4

equals(Object obj)

public boolean equals(Object obj)

Parameters:

パラメーター説明
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)

* の演算子オーバーロード

Parameters:

パラメーター説明
lhsFVector4左ベクトル
rhsFVector4右ベクトル

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)

「-」(マイナス) の演算子オーバーロード

Parameters:

パラメーター説明
lhsFVector4左ベクトル
rhsFVector4右ベクトル

Returns: FVector4 - Result vector

toString()

public String toString()

FVector4 を表す文字列を返します

Returns: java.lang.String - 現在のベクトルの文字列表現です。

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int