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 після встановлення Aspose.3D FOSS для пакету Python. Свойства: name, properties.

Properties

NameTypeAccessDescription
namestrЧитання/писанняОбирає або встановлює ім’я.
properties``ReadВін отримує власність.

Methods

SignatureDescription
__init__(scene: 'Scene', prop: 'Property')
add_channel(name: str, value: Any, type)boolДодає новий канал анімації з зазначеною назвою, значенням та типом, повертаючи 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 з названим каналом анімації
get_channel(channel_name: str)'AnimationChannel'Відшукає об’єкт AnimationChannel для даного імені каналу .
reset_channels()Видає всі канали та їх зв’язки з BindPoint
property()'Property'Повертає колекцію об’єктів, пов’язаних з BindPoint
channels_count()intПовертає кількість анімірованих каналів, що визначені в даний час.
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)Налаштовує значення власності.
remove_property(property)

See Also

 Українська