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()

필드

필드설명
xx 구성 요소.
yy 구성 요소.
zy 구성 요소.

메서드

메서드설명
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:

매개변수형식설명
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첫 번째 벡터
bFVector3두 번째 벡터

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)

두 벡터의 외적

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첫 번째 벡터
bfloat두 번째 벡터

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첫 번째 벡터
bFVector3두 번째 벡터

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