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#
def
appendChannelComponent
(component)def
begin
()def
cbegin
()def
cend
()def
channelComponentCount
()def
clearChannelComponents
()def
end
()def
insertChannelComponent
(index, component)def
jointIndex
()def
name
()def
removeChannelComponent
(index)def
setJointIndex
(jointIndex)def
setName
(name)
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:
name – str
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.appendChannelComponent(component)#
- Parameters:
component –
PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.begin()#
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.cbegin()#
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.cend()#
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.channelComponentCount()#
- Return type:
int
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.clearChannelComponents()#
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.end()#
- PySide6.Qt3DAnimation.Qt3DAnimation.QChannel.insertChannelComponent(index, component)#
- Parameters:
index – int
component –
PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent
- 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