AnimationChannel
Overview
AnimationChannel 是Python的Aspose.3D FOSS中的一个类. 继承人: KeyframeSequence.
AnimationChannel.component_type specifies the data type of the animated component.
这个类提供了在Python程序中与AnimationChannel对象工作的7种方法. 有的方法包括: __init__, add, find_property, get_property, remove_property, reset, set_property. 在安装Python包的Aspose.3D FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: bind_point, component_type, default_value, key_frames, keyframe_sequence, name,另外还有3个.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
component_type | `` | Read | 得到了组件类型. |
default_value | Any | 阅读/写作 | 得到或设置默认值. |
keyframe_sequence | KeyframeSequence | 阅读/写作 | 获取或设置关键框序列. |
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) |