FVector4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector4 implements Struct<FVector4>, Serializable
Dört bileşenli bir float vektör.
Yapıcılar
| Yapıcı | Açıklama |
|---|---|
| FVector4(float x, float y, float z, float w) | Yeni bir FVector4 örneği başlatır. |
| FVector4(float x, float y, float z) | Yeni bir FVector4 örneği başlatır. |
| FVector4(Color color) | Yeni bir FVector4 örneği başlatır. |
| FVector4(Vector4 vec) | Yeni bir FVector4 örneği başlatır. |
| FVector4(Vector3 vec) | Yeni bir FVector4 örneği başlatır. |
| FVector4(Vector3 vec, float w) | Yeni bir FVector4 örneği başlatır. |
| FVector4() |
Alanlar
| Alan | Açıklama |
|---|---|
| w | w bileşeni. |
| x | x bileşeni. |
| y | y bileşeni. |
| z | z bileşeni. |
Yöntemler
| Yöntem | Açıklama |
|---|---|
| add(FVector4 lhs, FVector4 rhs) | + operatörü için aşırı yükleme |
| clone() | |
| copyFrom(FVector4 src) | |
| create(FVector4 v) | Vector4’ü FVector4’e dönüştürmek için açık dönüşüm operatörü |
| equals(Object obj) | |
| getClass() | |
| hashCode() | |
| mul(FVector4 lhs, FVector4 rhs) | * operatörü için aşırı yükleme |
| notify() | |
| notifyAll() | |
| sub(FVector4 lhs, FVector4 rhs) | - (eksi) için operatör aşırı yüklemesi |
| toString() | FVector4 öğesini temsil eden bir dize döndürür |
| 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)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| x | float | X bileşeni |
| y | float | Y bileşeni |
| z | float | Z bileşeni |
| w | float | W bileşeni |
FVector4(float x, float y, float z)
public FVector4(float x, float y, float z)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| x | float | X bileşeni |
| y | float | Y bileşeni |
| z | float | Z bileşeni |
FVector4(Color color)
public FVector4(Color color)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| renk | java.awt.Color |
FVector4(Vector4 vec)
public FVector4(Vector4 vec)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| vec | Vector4 |
FVector4(Vector3 vec)
public FVector4(Vector3 vec)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| vec | Vector3 |
FVector4(Vector3 vec, float w)
public FVector4(Vector3 vec, float w)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| vec | Vector3 | |
| w | float |
FVector4()
public FVector4()
w
public float w
w bileşeni.
x
public float x
x bileşeni.
y
public float y
y bileşeni.
z
public float z
z bileşeni.
add(FVector4 lhs, FVector4 rhs)
public static FVector4 add(FVector4 lhs, FVector4 rhs)
- operatörü için aşırı yükleme
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| lhs | FVector4 | Sol vektör |
| rhs | FVector4 | Sağ vektör |
Returns: FVector4 - Result vector
clone()
public FVector4 clone()
Mevcut örneği kopyala
Returns: FVector4
copyFrom(FVector4 src)
public void copyFrom(FVector4 src)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| src | FVector4 |
create(FVector4 v)
public static Vector4 create(FVector4 v)
Vector4’ü FVector4’e dönüştürmek için açık dönüşüm operatörü
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| v | FVector4 |
Returns: Vector4
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| 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)
* operatörü için aşırı yükleme
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| lhs | FVector4 | Sol vektör |
| rhs | FVector4 | Sağ vektör |
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)
- (eksi) için operatör aşırı yüklemesi
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| lhs | FVector4 | Sol vektör |
| rhs | FVector4 | Sağ vektör |
Returns: FVector4 - Result vector
toString()
public String toString()
FVector4 öğesini temsil eden bir dize döndürür
Returns: java.lang.String - Mevcut vektörün dize temsili.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long | |
| arg1 | int |