FVector3
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector3 implements Struct<FVector3>, Serializable
세 개 구성 요소를 가진 float 벡터.
생성자
| 생성자 | 설명 |
|---|---|
| FVector3(float x, float y, float z) | 새로운 FVector3 인스턴스를 초기화합니다. |
| FVector3(Vector3 vec) | 새로운 FVector3 인스턴스를 초기화합니다. |
| FVector3(Vector4 vec) | 새 인스턴스를 초기화합니다 FVector4. |
| FVector3() |
필드
| 필드 | 설명 |
|---|---|
| x | x 구성 요소. |
| y | y 구성 요소. |
| z | y 구성 요소. |
메서드
| 메서드 | 설명 |
|---|---|
| add(FVector3 a, FVector3 b) | + 연산자 오버로드 |
| clone() | |
| copyFrom(FVector3 src) | |
| create(FVector3 v) | FVector3를 Vector3로 변환하는 명시적 변환 연산자 |
| cross(FVector3 rhs) | 두 벡터의 외적 |
| 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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | float | 벡터의 X 구성 요소 |
| y | float | 벡터의 Y 구성 요소 |
| z | float | 벡터의 Z 구성 요소 |
FVector3(Vector3 vec)
public FVector3(Vector3 vec)
새로운 FVector3 인스턴스를 초기화합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| vec | Vector3 | double 타입의 Vector3 |
FVector3(Vector4 vec)
public FVector3(Vector4 vec)
새 인스턴스를 초기화합니다 FVector4.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| vec | Vector4 | double 타입의 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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| a | FVector3 | 첫 번째 벡터 |
| b | FVector3 | 두 번째 벡터 |
Returns: FVector3
clone()
public FVector3 clone()
현재 인스턴스를 복제합니다
Returns: FVector3
copyFrom(FVector3 src)
public void copyFrom(FVector3 src)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| src | FVector3 |
create(FVector3 v)
public static Vector3 create(FVector3 v)
FVector3를 Vector3로 변환하는 명시적 변환 연산자
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| v | FVector3 | float 타입의 Vector3 |
Returns: Vector3
cross(FVector3 rhs)
public FVector3 cross(FVector3 rhs)
두 벡터의 외적
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| rhs | FVector3 | 우변 값. |
Returns: FVector3 - Cross product of two FVector3s.
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
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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| a | FVector3 | 첫 번째 벡터 |
| b | float | 두 번째 벡터 |
Returns: FVector3 - The product of two vectors
negative(FVector3 a)
public static FVector3 negative(FVector3 a)
- 연산자 오버로드
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| a | FVector3 | 입력 벡터 |
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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| a | FVector3 | 첫 번째 벡터 |
| b | FVector3 | 두 번째 벡터 |
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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long | |
| arg1 | int |