BindPoint
ภาพรวม
BindPoint เป็นคลาสใน Aspose.3D FOSS for Typescript. ทายาทจาก: A3DObject.
BindPoint.constructor เริ่มต้นการใช้ BindPoint ด้วย Scene และ Properties ที่เลือกได้.
คลาสนี้ให้ 7 วิธีในการทํางานกับวัตถุ BindPoint ในโปรแกรม Typescript. วิธีการที่ใช้ได้แก่: addChannel, bindKeyframeSequence, constructor, createKeyframeSequence, getChannel, getKeyframeSequence, resetChannels. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Typescript ได้หลังจากการติดตั้งแพ็คเกจ Aspose.3D FOSS for Typescript. คุณสมบัติ: channelsCount, name, properties, property, scene.
คําอธิบาย
BindPoint เป็นคลาสในห้องสมุด Aspose.3D FOSS สําหรับ TypeScript ที่เปิดเผย 6 วิธีและ 5 คุณสมบัติสําหรับการใช้งานโปรแกรม. มันขยาย A3DObject, มีฟังก์ชันที่แบ่งร่วมจากชนิดต้น.
ความสามารถหลัก ประกอบด้วย: string; propertycollection; property.การดําเนินงานเหล่านี้ทําให้ผู้พัฒนาสามารถรวมฟังก์ชัน bindpoint ได้โดยตรงกับแอปพลิเคชั่น TypeScript.
คลาสนี้ยังให้บริการ properties อสังหาริมทรัพย์ (ได้อสังหาริมตน) property อสังหาริมทรัพย์ channelsCount property (ได้รับการนับช่องทาง).
อินสแตนส์ถูกสร้างผ่านคอนструкเตอร์เดียว ที่เริ่มต้นวัตถุด้วยค่าตั้งค่า.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
name | string | อ่าน/เขียน | รับชื่อ. |
properties | PropertyCollection | อ่าน | รับคุณสมบัติ. |
property | Property | อ่าน | รับค่าคุณสมบัติ. |
channelsCount | number | อ่าน | รับจำนวนช่องสัญญาณ. |
scene | `Scene | null` | อ่าน |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
| `constructor(scene: Scene | null, prop: Property)` |
addChannel(name: string, value: any, _type: any) → boolean | เพิ่มช่องทางที่มีชื่อ, ค่าและประเภท, กลับ true เมื่อประสบความสําเร็จ |
getKeyframeSequence(channelName: string) → `KeyframeSequence | null` |
createKeyframeSequence(name: string) → KeyframeSequence | สร้าง KeyframeSequence ใหม่ที่มีชื่อที่ให้ |
bindKeyframeSequence(channelName: string, sequence: KeyframeSequence) | สัมพันธ์ KeyframeSequence กับชื่อช่องที่ระบุ |
getChannel(channelName: string) → `AnimationChannel | null` |
resetChannels() | ถอดช่องอanimation ทั้งหมดจากจุดเชื่อม |