Sur cette page

Qt3DAnimation::QChannelMapping Class

class Qt3DAnimation::QChannelMapping

Permet d'associer les canaux du clip aux propriétés des objets de l'application. En savoir plus...

En-tête : #include <qchannelmapping.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
qmake : QT += 3danimation
Hérite de : Qt3DAnimation::QAbstractChannelMapping
Statut : Aperçu technologique

Cette classe est en avant-première technologique et est susceptible d'être modifiée.

Propriétés

Fonctions publiques

QString channelName() const
QString property() const
Qt3DCore::QNode *target() const

Emplacements publics

void setChannelName(const QString &channelName)
void setProperty(const QString &property)
void setTarget(Qt3DCore::QNode *target)

Signaux

void channelNameChanged(QString channelName)
void propertyChanged(QString property)
void targetChanged(Qt3DCore::QNode *target)

Description détaillée

Documentation des propriétés

channelName : QString

Contient le nom de la chaîne pour le mappage des chaînes.

Fonctions d'accès :

QString channelName() const
void setChannelName(const QString &channelName)

Signal de notification :

void channelNameChanged(QString channelName)

property : QString

Contient le nom de la propriété du nœud cible qui doit être animée.

Fonctions d'accès :

QString property() const
void setProperty(const QString &property)

Signal de notification :

void propertyChanged(QString property)

target : Qt3DCore::QNode*

Contient le nœud cible pour le mappage de canaux.

Fonctions d'accès :

Qt3DCore::QNode *target() const
void setTarget(Qt3DCore::QNode *target)

Signal de notification :

void targetChanged(Qt3DCore::QNode *target)

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.