AnimationChannel
Overview
AnimationChannel เป็นคลาสใน Aspose.3D FOSS สําหรับ Python. ทายาทจาก: KeyframeSequence.
AnimationChannel.component_type specifies the data type of the animated component.
หมวดนี้ให้ 7 วิธีในการทํางานกับวัตถุ AnimationChannel ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: __init__, add, find_property, get_property, remove_property, reset, set_property. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for 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) |