KeyframeSequence

KeyframeSequence

Overview

KeyframeSequence เป็นคลาสใน Aspose.3D FOSS สําหรับ Python. ทายาทจาก: A3DObject.

KeyframeSequence.reset resets the sequence to its initial empty state.

หมวดนี้ให้ 7 วิธีในการทํางานกับวัตถุ KeyframeSequence ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: __init__, add, find_property, get_property, remove_property, reset, set_property. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: bind_point, key_frames, name, post_behavior, pre_behavior, properties.

Properties

NameTypeAccessDescription
namestrอ่าน/เขียนได้ชื่อหรือตั้งชื่อ.
properties``Readได้ทรัพย์สินแล้ว.
bind_point'BindPoint'Readได้จุดที่เชื่อมโยง.
key_framesList['KeyFrame']Readได้รูปไฟฟ้าที่สําคัญ.
post_behaviorExtrapolationReadได้รับการพฤติกรรมที่โปสต์.
pre_behaviorExtrapolationReadได้รับการพฤติกรรมก่อน.

Methods

SignatureDescription
__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)

See Also

 ภาษาไทย