BindPoint

Overview

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

BindPoint.add_channel adds a new animation channel with the specified name, value and type, returning True on success.

หมวดนี้ให้ 13 วิธีในการทํางานกับวัตถุ BindPoint ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: __init__, add_channel, bind_keyframe_sequence, channels_count, create_keyframe_sequence, find_property, get_channel, get_keyframe_sequence, get_property, property, remove_property, reset_channels,และ 1 วิธีการเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: name, properties.

Properties

NameTypeAccessDescription
namestrอ่าน/เขียนได้ชื่อหรือตั้งชื่อ.
properties``Readได้ทรัพย์สินแล้ว.

Methods

SignatureDescription
__init__(scene: 'Scene', prop: 'Property')
add_channel(name: str, value: Any, type)boolเพิ่มช่องทางอanimation ใหม่ที่มีชื่อ, ค่าและชนิดที่กําหนดไว้ ให้กลับ True เมื่อประสบความสําเร็จ
get_keyframe_sequence(channel_name: str)'KeyframeSequence'การคืน KeyframeSequence ที่เกี่ยวข้องกับชื่อช่องที่ให้ไว้
create_keyframe_sequence(name: str)'KeyframeSequence'สร้างและคืน KeyframeSequence ใหม่ที่ระบุด้วยชื่อที่ให้ไว้
bind_keyframe_sequence(channel_name: str, sequence: 'KeyframeSequence')เชื่อม KeyframeSequence ที่ระบุไปกับช่องอanimationที่ได้รับการกําหนดชื่อ
get_channel(channel_name: str)'AnimationChannel'ค้นหาวัตถุ AnimationChannel สําหรับชื่อช่องที่ให้ไว้
reset_channels()ลบช่องทางทั้งหมดและการผูกพันของพวกเขาจาก BindPoint
property()'Property'การคืนคอลเลกชั่น Properties ที่เกี่ยวข้องกับ BindPoint นี้
channels_count()intส่งจํานวนช่องอanimation ที่กําหนดอยู่ตอนนี้
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)กําหนดค่าของทรัพย์สิน.
remove_property(property)

See Also

 ภาษาไทย