AnimationNode
Overview
AnimationNode là một lớp trong Aspose.3D FOSS cho Python. Dòng thừa kế từ: A3DObject.
AnimationNode.find_bind_point returns the BindPoint matching the given target object and name.
Khóa học này cung cấp 9 phương pháp để làm việc với các đối tượng AnimationNode trong các chương trình Python. Các phương pháp có sẵn bao gồm: __init__, create_bind_point, find_bind_point, find_property, get_bind_point, get_keyframe_sequence, get_property, remove_property, set_property. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.3D FOSS cho gói Python. Tài sản : bind_points, name, properties, sub_animations.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Đọc / viết | Nhận hoặc đặt tên. |
properties | `` | Read | Nhận được tài sản. |
bind_points | List['BindPoint'] | Read | Nhận được điểm liên kết. |
sub_animations | List['AnimationNode'] | Read | Nhận được các hoạt động dưới. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
find_bind_point(target: 'A3DObject', name: str) → 'BindPoint' | Trở lại BindPoint phù hợp với mục tiêu và tên mục đích đã được cung cấp |
get_bind_point(target: 'A3DObject', prop_name: str, create: bool) → 'BindPoint' | Tải về hoặc tùy chọn tạo một BindPoint cho tài sản của đối tượng mục tiêu |
create_bind_point(obj: 'A3DObject', prop_name: str) → 'BindPoint' | Tạo một BindPoint mới cho mục cụ thể và tên tài sản |
get_keyframe_sequence(target: 'A3DObject', prop_name: str, channel_name: str, create: bool) → 'KeyframeSequence' | Nhận hoặc tạo một KeyframeSequence cho kênh sở hữu của đối tượng mục tiêu |
find_property(property_name: str) | |
get_property(property: str) | |
set_property(property: str, value) | Đặt giá trị tài sản. |
remove_property(property) |