このページでは

Qt3DAnimation::QChannelMapping Class

class Qt3DAnimation::QChannelMapping

クリップ内のチャンネルをアプリケーション内のオブジェクトのプロパティにマッピングできます。詳細

ヘッダー #include <QChannelMapping>
CMakeの find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
qmake: QT += 3danimation
を継承する:Qt3DAnimation::QAbstractChannelMapping を継承する。
ステータス非推奨

プロパティ

パブリック機能

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

パブリックスロット

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

シグナル

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

詳細説明

プロパティの説明

channelName : QString

チャンネルマッピングのチャンネル名を保持する。

アクセス機能:

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

通知シグナル:

void channelNameChanged(QString channelName)

property : QString

アニメーションさせるターゲットノードのプロパティ名を保持します。

アクセス関数:

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

通知シグナル

void propertyChanged(QString property)

target : Qt3DCore::QNode*

チャネルマッピングのターゲットノードを保持します。

アクセス機能:

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

通知シグナル

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.