QChannel Class | Qt 3D 5.12.7

Qt 5.12 | Qt 3D | C++ Classes | QChannel

Qt 5.12.7 Reference Documentation

# QChannel Class

(Qt3DAnimation::QChannel)

Defines a channel for a QAnimationClipData. The animation system interpolates each channel component independently except in the case the QChannel is called "Rotation" (case sensitive), it has four QChannelComponents and the same number of keyframes for each QChannelComponent. In that case the interpolation will be performed using SLERP. More...

Header: | #include <QChannel>
qmake: | QT += 3danimation

- List of all members, including inherited members

## Public Types

typedef | const_iterator
typedef | const_reverse_iterator

## Public Functions

| QChannel()
| QChannel(const QString &name)
| QChannel(const Qt3DAnimation::QChannel &)
| ~QChannel()
void | appendChannelComponent(const Qt3DAnimation::QChannelComponent &component)
Qt3DAnimation::QChannel::const_iterator | begin() const
Qt3DAnimation::QChannel::const_iterator | cbegin() const
Qt3DAnimation::QChannel::const_iterator | cend() const
int | channelComponentCount() const
void | clearChannelComponents()
Qt3DAnimation::QChannel::const_reverse_iterator | crbegin() const
Qt3DAnimation::QChannel::const_reverse_iterator | crend() const
Qt3DAnimation::QChannel::const_iterator | end() const
void | insertChannelComponent(int index, const Qt3DAnimation::QChannelComponent &component)
int | jointIndex() const
QString | name() const
Qt3DAnimation::QChannel::const_reverse_iterator | rbegin() const
void | removeChannelComponent(int index)
Qt3DAnimation::QChannel::const_reverse_iterator | rend() const
void | setJointIndex(int jointIndex)
void | setName(const QString &name)
Qt3DAnimation::QChannel & | operator=(const Qt3DAnimation::QChannel &)

## Detailed Description

Defines a channel for a QAnimationClipData. The animation system interpolates each channel component independently except in the case the QChannel is called "Rotation" (case sensitive), it has four QChannelComponents and the same number of keyframes for each QChannelComponent. In that case the interpolation will be performed using SLERP.

## Member Type Documentation

### typedef QChannel::const_iterator

### typedef QChannel::const_reverse_iterator

## Member Function Documentation

### QChannel::QChannel()

Default constructs an instance of QChannel.

### QChannel::QChannel(const QString &name)

Default constructs an instance of QChannel.

### QChannel::QChannel(const Qt3DAnimation::QChannel &)

Default constructs an instance of QChannel.

### QChannel::~QChannel()

Destroys the instance of QChannel.

### void QChannel::appendChannelComponent(const Qt3DAnimation::QChannelComponent &component)

### Qt3DAnimation::QChannel::const_iterator QChannel::begin() const

### Qt3DAnimation::QChannel::const_iterator QChannel::cbegin() const

### Qt3DAnimation::QChannel::const_iterator QChannel::cend() const

### int QChannel::channelComponentCount() const

### void QChannel::clearChannelComponents()

### Qt3DAnimation::QChannel::const_reverse_iterator QChannel::crbegin() const

### Qt3DAnimation::QChannel::const_reverse_iterator QChannel::crend() const

### Qt3DAnimation::QChannel::const_iterator QChannel::end() const

### void QChannel::insertChannelComponent(int index, const Qt3DAnimation::QChannelComponent &component)

### int QChannel::jointIndex() const

See also setJointIndex().

### QString QChannel::name() const

See also setName().

### Qt3DAnimation::QChannel::const_reverse_iterator QChannel::rbegin() const

### void QChannel::removeChannelComponent(int index)

### Qt3DAnimation::QChannel::const_reverse_iterator QChannel::rend() const

### void QChannel::setJointIndex(int jointIndex)

See also jointIndex().

### void QChannel::setName(const QString &name)

See also name().

### Qt3DAnimation::QChannel &QChannel::operator=(const Qt3DAnimation::QChannel &)

Copy-assignment operator.