FVector4
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector4 implements Struct<FVector4>, Serializable
네 개 구성 요소를 가진 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 |