FVector3

Inheritance: java.lang.Object

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

public final class FVector3 implements Struct<FVector3>, Serializable

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

コンストラクタ

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

フィールド

フィールド説明
xx 成分。
yy 成分。
zy 成分。

メソッド

メソッド説明
add(FVector3 a, FVector3 b)+ 演算子のオーバーロード
clone()
copyFrom(FVector3 src)
create(FVector3 v)FVector3 を Vector3 にキャストする明示的変換演算子
cross(FVector3 rhs)2つのベクトルの外積
equals(Object obj)
getClass()
getOne()すべての成分が 1 の単位スケールベクトル
getZero()ゼロベクトルです。
hashCode()
mul(FVector3 a, float b)* 演算子オーバーロード
negative(FVector3 a)- 演算子のオーバーロード
normalize()このインスタンスを正規化します。
notify()
notifyAll()
sub(FVector3 a, FVector3 b)- 演算子のオーバーロード
toString()FVector3 を表す文字列を返します
wait()
wait(long arg0)
wait(long arg0, int arg1)

FVector3(float x, float y, float z)

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

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

Parameters:

パラメーター説明
xfloatベクトルの X 成分
yfloatベクトルの Y 成分
zfloatベクトルの Z 成分

FVector3(Vector3 vec)

public FVector3(Vector3 vec)

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

Parameters:

パラメーター説明
vecVector3double 型の Vector3

FVector3(Vector4 vec)

public FVector3(Vector4 vec)

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

Parameters:

パラメーター説明
vecVector4double 型の Vector4

FVector3()

public FVector3()

x

public float x

x 成分。

y

public float y

y 成分。

z

public float z

y 成分。

add(FVector3 a, FVector3 b)

public static FVector3 add(FVector3 a, FVector3 b)

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

Parameters:

パラメーター説明
aFVector3最初のベクトル
bFVector32番目のベクトル

Returns: FVector3

clone()

public FVector3 clone()

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

Returns: FVector3

copyFrom(FVector3 src)

public void copyFrom(FVector3 src)

Parameters:

パラメーター説明
srcFVector3

create(FVector3 v)

public static Vector3 create(FVector3 v)

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

Parameters:

パラメーター説明
vFVector3float 型の Vector3

Returns: Vector3

cross(FVector3 rhs)

public FVector3 cross(FVector3 rhs)

2つのベクトルの外積

Parameters:

パラメーター説明
rhsFVector3右側の値。

Returns: FVector3 - Cross product of two FVector3s.

equals(Object obj)

public boolean equals(Object obj)

Parameters:

パラメーター説明
objjava.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOne()

public static FVector3 getOne()

すべての成分が 1 の単位スケールベクトル

Returns: FVector3 - The unit scale vector with all components are all 1

getZero()

public static FVector3 getZero()

ゼロベクトルです。

Returns: FVector3 - The Zero vector.

hashCode()

public int hashCode()

Returns: int

mul(FVector3 a, float b)

public static FVector3 mul(FVector3 a, float b)

* 演算子オーバーロード

Parameters:

パラメーター説明
aFVector3最初のベクトル
bfloat2番目のベクトル

Returns: FVector3 - The product of two vectors

negative(FVector3 a)

public static FVector3 negative(FVector3 a)

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

Parameters:

パラメーター説明
aFVector3入力ベクトル

Returns: FVector3 - The negative vector

normalize()

public FVector3 normalize()

このインスタンスを正規化します。

Returns: FVector3 - Normalized vector.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

sub(FVector3 a, FVector3 b)

public static FVector3 sub(FVector3 a, FVector3 b)

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

Parameters:

パラメーター説明
aFVector3最初のベクトル
bFVector32番目のベクトル

Returns: FVector3 - The difference of two vectors

toString()

public String toString()

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

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