AnimationNode
ภาพรวม
AnimationNode เป็นคลาสใน Aspose.3D FOSS สําหรับ Typescript. ทายาทจาก: A3DObject.
AnimationNode.constructor สร้าง Node ด้วยชื่อที่กําหนด หรือ null.
หมวดนี้ให้ 5 วิธีในการทํางานกับวัตถุ AnimationNode ในโปรแกรม Typescript. วิธีการที่ใช้ได้แก่: constructor, createBindPoint, findBindPoint, getBindPoint, getKeyframeSequence. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Typescript ได้หลังจากติดตั้งแพ็คเกจ Aspose.3D FOSS for TypeScript. คุณสมบัติ: bindPoints, name, properties, subAnimations.
คําอธิบาย
AnimationNode เป็นคลาสในห้องสมุด FOSS ของ Aspose.3D สําหรับ TypeScript ที่เปิดเผย 4 วิธีและ 4 คุณลักษณะสําหรับการใช้งานแบบโปรแกรม มันขยายไปยัง A3DObject, มีฟังก์ชันที่แบ่งจากแบบแม่ของมัน.
ความสามารถหลัก ประกอบด้วย: string; propertycollection; bindpoint[].การปฏิบัติงานเหล่านี้ทําให้ผู้พัฒนาสามารถรวมความเป็นไปได้ของ animationnode ได้โดยตรงกับแอปพลิเคชั่น TypeScript.
กลุ่มนี้ยังให้บริการที่ properties อสังหาริมทรัพย์ (ได้อสังหาฯ) bindPoints property (ได้จุดที่เชื่อมต่อ) subAnimations property (ได้การอานิเมชั่นรอง).
อินสแตนส์ถูกสร้างผ่านคอนструкเตอร์เดียว ที่เริ่มต้นวัตถุด้วยค่าตั้งค่า.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
name | string | อ่าน/เขียน | รับชื่อ. |
properties | PropertyCollection | อ่าน | รับคุณสมบัติ. |
bindPoints | BindPoint[] | อ่าน | รับจุดผูก. |
subAnimations | AnimationNode[] | อ่าน | รับ sub animations. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
| `constructor(name: string | null)` |
findBindPoint(_target: A3DObjectClass, name: string) → `BindPoint | null` |
getBindPoint(target: A3DObjectClass, propName: string, create: boolean) → `BindPoint | null` |
createBindPoint(obj: A3DObjectClass, propName: string) → `BindPoint | null` |
| `getKeyframeSequence(target: A3DObjectClass, propName: string, channelName: string | null, create: boolean)→KeyframeSequence |