FVector3
ภาพรวม
FVector3 เป็นโครงสร้างใน Aspose.3D FOSS สําหรับ .NET. ทายาทจาก: IComparable<FVector3>.
แสดงตัวเวกเตอร์ 3 มิติ
โครงสร้างนี้ให้ 10 วิธีในการทํางานกับวัตถุ FVector3 ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: CompareTo, Cross, FVector3, Normalize, Parse, ToString. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.3D FOSS for .Net. คุณสมบัติ: One, UnitX, UnitY, UnitZ, Zero.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
Zero | FVector3 | อ่าน | รับค่าเป็นศูนย์. |
One | FVector3 | อ่าน | รับค่าอันเดียว. |
UnitX | FVector3 | อ่าน | รับค่า unit x. |
UnitY | FVector3 | อ่าน | รับค่า y ของหน่วย. |
UnitZ | FVector3 | อ่าน | รับค่า unit z. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
FVector3(x: float, y: float, z: float) | สร้างเวกเตอร์ที่มีส่วนประกอบ x, y และ z ที่ระบุไว้ |
FVector3(xy: FVector2, z: float) | เรียก FVector3 ((xy, z) ในตัวอย่างของ F Vector 3 นี้. |
FVector3(vec: FVector4) | เรียก FVector3 ((vec) ในตัวอย่างของ F Vector 3 นี้. |
FVector3(vec: Vector4) | เรียก FVector3 ((vec) ในตัวอย่างของ F Vector 3 นี้. |
FVector3(vec: Vector3) | เรียก FVector3 ((vec) ในตัวอย่างของ F Vector 3 นี้. |
CompareTo(other: FVector3) | เรียก CompareTo(อื่น ๆ) ในตัวอย่าง FVector3 นี้. |
Parse(input: string) | เรียก Parse ((input) ในตัวอย่าง FVector3 นี้. |
Normalize() | เรียก Normalize ในตัวอย่าง FVector3 นี้. |
Cross(rhs: FVector3) | เรียก Cross ((rhs) ในตัวอย่าง FVector3 นี้. |
ToString() | เรียก ToString ในตัวอย่าง FVector3 นี้. |