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 นี้. |