In questa pagina

Qt3DAnimation::QChannelMapping Class

class Qt3DAnimation::QChannelMapping

Consente di associare i canali presenti nella clip alle proprietà degli oggetti nell'applicazione. Altro...

Intestazione: #include <qchannelmapping.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
qmake: QT += 3danimation
Eredita da: Qt3DAnimation::QAbstractChannelMapping
Stato: Anteprima tecnologica

Questa classe è in anteprima tecnologica ed è soggetta a modifiche.

Proprietà

Funzioni pubbliche

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

Slot pubblici

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

Segnali

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

Descrizione dettagliata

Documentazione delle proprietà

channelName : QString

Contiene il nome del canale per la mappatura dei canali.

Funzioni di accesso:

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

Segnale di notifica:

void channelNameChanged(QString channelName)

property : QString

Contiene il nome della proprietà del nodo di destinazione che deve essere animata.

Funzioni di accesso:

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

Segnale di notifica:

void propertyChanged(QString property)

target : Qt3DCore::QNode*

Contiene il nodo di destinazione per la mappatura dei canali.

Funzioni di accesso:

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

Segnale di notifica:

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.