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() |
フィールド
| フィールド | 説明 |
|---|---|
| w | w コンポーネント。 |
| x | x 成分。 |
| y | y 成分。 |
| z | z 成分。 |
メソッド
| メソッド | 説明 |
|---|---|
| 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:
| パラメーター | 型 | 説明 |
|---|---|---|
| x | float | X コンポーネント |
| y | float | Y コンポーネント |
| z | float | Z コンポーネント |
| w | float | W コンポーネント |
FVector4(float x, float y, float z)
public FVector4(float x, float y, float z)
FVector4 の新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| x | float | X コンポーネント |
| y | float | Y コンポーネント |
| z | float | Z コンポーネント |
FVector4(Color color)
public FVector4(Color color)
FVector4 の新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 色 | java.awt.Color |
FVector4(Vector4 vec)
public FVector4(Vector4 vec)
FVector4 の新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| vec | Vector4 |
FVector4(Vector3 vec)
public FVector4(Vector3 vec)
FVector4 の新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| vec | Vector3 |
FVector4(Vector3 vec, float w)
public FVector4(Vector3 vec, float w)
FVector4 の新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| vec | Vector3 | |
| w | float |
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:
| パラメーター | 型 | 説明 |
|---|---|---|
| lhs | FVector4 | 左ベクトル |
| rhs | FVector4 | 右ベクトル |
Returns: FVector4 - Result vector
clone()
public FVector4 clone()
現在のインスタンスをクローンする
Returns: FVector4
copyFrom(FVector4 src)
public void copyFrom(FVector4 src)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| src | FVector4 |
create(FVector4 v)
public static Vector4 create(FVector4 v)
Vector4 を FVector4 にキャストする明示的変換演算子
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| v | FVector4 |
Returns: Vector4
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 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)
* の演算子オーバーロード
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| lhs | FVector4 | 左ベクトル |
| rhs | FVector4 | 右ベクトル |
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:
| パラメーター | 型 | 説明 |
|---|---|---|
| lhs | FVector4 | 左ベクトル |
| rhs | FVector4 | 右ベクトル |
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:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |