KeyframeSequence
Overview
KeyframeSequence เป็นคลาสใน Aspose.3D FOSS สําหรับ Typescript. ทายาทจาก: A3DObject.
KeyframeSequence.constructor creates a new sequence and optionally assigns a name.
หมวดนี้ให้ 4 วิธีในการทํางานกับวัตถุ KeyframeSequence ในโปรแกรม Typescript. วิธีการที่ใช้ได้แก่: add, constructor, reset, setBindPoint. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Typescript ได้หลังจากติดตั้งแพ็คเกจ Aspose.3D FOSS for Typscript. คุณสมบัติ: bindPoint, keyFrames, name, postBehavior, preBehavior, properties.
Description
KeyframeSequence เป็นคลาสในห้องสมุด FOSS ของ Aspose.3D สําหรับ TypeScript ที่เปิดเผย 3 วิธีและ 6 คุณลักษณะสําหรับการใช้งานแบบโปรแกรม มันขยายไปยัง A3DObject, มีฟังก์ชันที่แบ่งจากแบบแม่ของมัน.
ความสามารถหลัก ประกอบด้วย: string; propertycollection; `bindpoint การปฏิบัติงานเหล่านี้ทําให้ผู้พัฒนาสามารถรวมฟังก์ชัน keyframesequence ได้โดยตรงกับแอปพลิเคชั่น TypeScript.
กลุ่มนี้ยังให้บริการที่ properties อสังหาริมทรัพย์ (ได้อสังหาฯ) bindPoint property (ได้จุดเชื่อม) keyFrames property (ได้กรอบหลัก).
อินสแตนส์ถูกสร้างผ่านคอนструкเตอร์เดียว ที่เริ่มต้นวัตถุด้วยค่าตั้งค่า.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | อ่าน/เขียน | ได้ชื่อแล้ว. |
properties | PropertyCollection | Read | ได้ทรัพย์สินแล้ว. |
bindPoint | `BindPoint | null` | Read |
keyFrames | KeyFrame[] | Read | ได้รูปไฟฟ้าที่สําคัญ. |
postBehavior | Extrapolation | Read | ได้รับการพฤติกรรมที่โปสต์. |
preBehavior | Extrapolation | Read | ได้รับการพฤติกรรมก่อน. |
Methods
| Signature | Description |
|---|---|
| `constructor(name: string | null)` |
reset() | ทําความสะอาดทุกคีย์เฟรมและฟื้นฟูการตั้งค่าพฤติกรรมแบบถัดไป |
add(time: number, value: number, interpolation: Interpolation) | การใส่ตัวกลางที่ให้เวลาที่มีค่าและการสกัดรูปแบบ |
setBindPoint(value: BindPoint) | กําหนดค่าจุดเชื่อมต่อ. |