BindPoint

Vue de l’ensemble

‘BindPoint’ est une classe dans Aspose.3D FOSS pour Python. hérite de: ‘A3DObject’.

BindPoint.add_channel ajoute un nouveau canal d’animation avec le nom, la valeur et le type spécifiés, retournant True sur succès.

Cette classe fournit 13 méthodes pour travailler avec des objets BindPoint dans les programmes Python. Les méthodologies disponibles comprennent: __init__, add_channel , bind_keyframe_sequence ، channels_count ; ‘create_kefram_section; 'find_property :get_chanel . , 'get-keyFrame = sequance. , ‘get' PropertY., ‘remove_privacy` et 1 méthode supplémentaire. Tous les membres publics sont accessibles à toute application Pythone après l’installation de l’Aspose.3D FOSS pour le package PyThone.

Propriétés

NameTypeAccessDescription
namestrRead/WriteGets or sets the name.
properties``ReadGets the properties.

méthodes

SignatureDescription
__init__(scene: 'Scene', prop: 'Property')
add_channel(name: str, value: Any, type)boolAdds a new animation channel with the specified name, value and type, returning True on success
get_keyframe_sequence(channel_name: str)'KeyframeSequence'Returns the KeyframeSequence associated with the given channel name
create_keyframe_sequence(name: str)'KeyframeSequence'Creates and returns a new KeyframeSequence identified by the provided name
bind_keyframe_sequence(channel_name: str, sequence: 'KeyframeSequence')Links the specified KeyframeSequence to the named animation channel
get_channel(channel_name: str)'AnimationChannel'Retrieves the AnimationChannel object for the given channel name
reset_channels()Removes all channels and their bindings from the BindPoint
property()'Property'Returns the Property collection associated with this BindPoint
channels_count()intReturns the number of animation channels currently defined
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)Sets the property value.
remove_property(property)

Voir aussi

  • Aspose.3D - référence API d’entreprise
 Français