KeyframeSequence
Overview
KeyframeSequence là một lớp trong Aspose.3D FOSS cho Python. Dòng thừa kế từ: A3DObject.
KeyframeSequence.reset resets the sequence to its initial empty state.
Khóa học này cung cấp 7 phương pháp để làm việc với các đối tượng KeyframeSequence trong các chương trình Python. Các phương pháp có sẵn bao gồm: __init__, add, find_property, get_property, remove_property, reset, 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_point, key_frames, name, post_behavior, pre_behavior, properties.
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_point | 'BindPoint' | Read | Nhận được điểm liên kết. |
key_frames | List['KeyFrame'] | Read | Nhận được khung chìa khóa. |
post_behavior | Extrapolation | Read | Nhận hành vi post. |
pre_behavior | Extrapolation | Read | Nhận được hành vi trước. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
reset() | Lấy lại chuỗi đến trạng thái trống ban đầu của nó |
add(time: float, value: float, interpolation: Interpolation) | Thêm một khung khóa vào thời điểm cụ thể với giá trị và chế độ interpolation đã được chỉ định |
find_property(property_name: str) | |
get_property(property: str) | |
set_property(property: str, value) | Đặt giá trị tài sản. |
remove_property(property) |