AnimationNode
Overview
AnimationNode เป็นคลาสใน Aspose.3D FOSS สําหรับ Python. ทายาทจาก: A3DObject.
AnimationNode.find_bind_point returns the BindPoint matching the given target object and name.
หมวดนี้ให้ 9 วิธีในการทํางานกับวัตถุ AnimationNode ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: __init__, create_bind_point, find_bind_point, find_property, get_bind_point, get_keyframe_sequence, get_property, remove_property, set_property. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: bind_points, name, properties, sub_animations.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | อ่าน/เขียน | ได้ชื่อหรือตั้งชื่อ. |
properties | `` | Read | ได้ทรัพย์สินแล้ว. |
bind_points | List['BindPoint'] | Read | ได้จุดที่เชื่อมโยงกัน. |
sub_animations | List['AnimationNode'] | Read | ได้รับการอานิเมชั่นรอง. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
find_bind_point(target: 'A3DObject', name: str) → 'BindPoint' | กลับ BindPoint ที่ตรงกับวัตถุเป้าหมายและชื่อที่ให้ไว้ |
get_bind_point(target: 'A3DObject', prop_name: str, create: bool) → 'BindPoint' | ค้นหาหรือสร้าง BindPoint สําหรับคุณสมบัติของวัตถุเป้าหมายได้อย่างเลือก |
create_bind_point(obj: 'A3DObject', prop_name: str) → 'BindPoint' | สร้าง BindPoint ใหม่สําหรับตัวอย่างและนามทรัพย์สินที่ระบุ |
get_keyframe_sequence(target: 'A3DObject', prop_name: str, channel_name: str, create: bool) → 'KeyframeSequence' | รับหรือสร้าง KeyframeSequence สําหรับช่องของวัตถุเป้าหมาย |
find_property(property_name: str) | |
get_property(property: str) | |
set_property(property: str, value) | กําหนดค่าของทรัพย์สิน. |
remove_property(property) |