KeyframeSequence
Overview
KeyframeSequence 是Python的Aspose.3D FOSS中的一个类. 继承人: A3DObject.
KeyframeSequence.reset resets the sequence to its initial empty state.
这个类提供了在Python程序中与KeyframeSequence对象工作的7种方法. 有的方法包括: __init__, add, find_property, get_property, remove_property, reset, set_property. 在安装Python包的Aspose.3D FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: bind_point, key_frames, name, post_behavior, pre_behavior, properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | 阅读/写作 | 得到或设置名字. |
properties | `` | Read | 得到了房地产. |
bind_point | 'BindPoint' | Read | 得到了结合点. |
key_frames | List['KeyFrame'] | Read | 得到关键框架. |
post_behavior | Extrapolation | Read | 得到了后续行为. |
pre_behavior | Extrapolation | Read | 得到了前的行为. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
reset() | 将序列重新设置为原始的空状态. |
add(time: float, value: float, interpolation: Interpolation) | 在给定的时间添加一个按键框,并指定值和插入模式. |
find_property(property_name: str) | |
get_property(property: str) | |
set_property(property: str, value) | 设置物业值. |
remove_property(property) |