Qt3DAnimation::QChannelMapping Class | Qt 3D | Qt 6.12.0
Description: Allows to map the channels within the clip onto properties of objects in the application.
Keywords: class

- Qt 6.12
- Qt 3D
- C++ Classes
- Qt3DAnimation (Deprecated)
- QChannelMapping
- Qt 6.12.0 Reference Documentation

# Qt3DAnimation::QChannelMapping Class

class Qt3DAnimation::QChannelMapping

Allows to map the channels within the clip onto properties of objects in the application. More...

Header: | `#include <qchannelmapping.h>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS 3danimation)` `target_link_libraries(mytarget PRIVATE Qt6::3danimation)`
qmake: | `QT += 3danimation`
Inherits: | Qt3DAnimation::QAbstractChannelMapping
Status: | Technology preview

This class is in technology preview and is subject to change.

- List of all members, including inherited members

## Properties

- channelName : QString
- property : QString
- target : Qt3DCore::QNode*

## Public Functions

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

## Public Slots

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

## Signals

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

## Detailed Description

## Property Documentation

### channelName : QString

Holds the name of the channel for the channel mapping.

Access functions:

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

Notifier signal:

void | channelNameChanged(QString channelName)

### property : QString

Holds the name of the property on the target node that should be animated.

Access functions:

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

Notifier signal:

void | propertyChanged(QString property)

### target : Qt3DCore::QNode*

Holds the target node for the channel mapping.

Access functions:

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

Notifier signal:

void | targetChanged(Qt3DCore::QNode *target)