FVector2

ภาพรวม

FVector2 เป็นคลาสใน Aspose.3D FOSS สําหรับ Java. ทายาทจาก: Struct<FVector2>, Serializable, Comparable<FVector2>.

หมวดนี้ให้ 17 วิธีในการทํางานกับวัตถุ FVector2 ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: FVector2, add, clone, compareTo, copyFrom, create, equals, hashCode, mul, op_eq, op_ne, sub,และ 1 วิธีการเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java.

วิธีการ

Signatureคําอธิบาย
FVector2()เรียก FVector2 ในตัวอย่างของ F Vector 2 นี้.
FVector2(x: float, y: float)เรียก FVector2 ((x, y) ในตัวอย่างของ F Vector 2 นี้.
FVector2(vec: FVector3)เรียก FVector2 ((vec) ในตัวอย่างของ F Vector 2 นี้.
FVector2(vec: Vector2)เรียก FVector2 ((vec) ในตัวอย่างของ F Vector 2 นี้.
create(v: FVector2)Vector2เรียก create(v) ในตัวอย่าง FVector2 นี้.
compareTo(other: FVector2)intเรียก compareTo(other) ในตัวอย่าง FVector2 นี้.
equals(rhs: FVector2)booleanเรียกเท่ากับ ((rhs) ในตัวอย่าง FVector2 นี้.
equals(obj: Object)booleanเรียกเท่ากับ ((obj) ในตัวอย่าง FVector2 นี้.
hashCode()intเรียก hashCode ในตัวอย่าง FVector2 นี้.
toString()Stringเรียก toString ในตัวอย่าง FVector2 นี้.
add(a: FVector2, b: FVector2)FVector2เรียก add ((a, b) ในตัวอย่าง FVector2 นี้.
sub(a: FVector2, b: FVector2)FVector2เรียก sub ((a, b) ในตัวอย่าง FVector2 นี้.
mul(a: FVector2, b: float)FVector2เรียก mul ((a, b) ในตัวอย่าง FVector2 นี้.
op_eq(a: FVector2, b: FVector2)booleanเรียก op_eq ((a, b) ในตัวอย่าง FVector2 นี้.
op_ne(a: FVector2, b: FVector2)booleanเรียก op_ne ((a, b) ในตัวอย่าง FVector2 นี้.
clone()FVector2เรียกคลอนในตัวอย่าง FVector2 นี้.
copyFrom(src: FVector2)เรียก copyFrom ((src) ในตัวอย่าง FVector2 นี้.

ดูเช่นกัน

 ภาษาไทย