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

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.Qt3DAnimation.Qt3DAnimation.QChannel#

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel(name)

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel(arg__1)

Parameters:
PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.appendChannelComponent(component)#
Parameters:

componentPySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.begin()#
Return type:

PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.cbegin()#
Return type:

PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.cend()#
Return type:

PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.channelComponentCount()#
Return type:

int

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.clearChannelComponents()#
PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.end()#
Return type:

PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.insertChannelComponent(index, component)#
Parameters:
PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.jointIndex()#
Return type:

int

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.name()#
Return type:

str

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.removeChannelComponent(index)#
Parameters:

index – int

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.setJointIndex(jointIndex)#
Parameters:

jointIndex – int

PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.setName(name)#
Parameters:

name – str