QKeyFrame 类

( Qt3DAnimation::QKeyFrame )

用于处理关键帧的基类。 更多...

头: #include <QKeyFrame>
qmake: QT += 3danimation

公共类型

enum InterpolationType { ConstantInterpolation, LinearInterpolation, BezierInterpolation }

公共函数

QKeyFrame ()
QKeyFrame (QVector2D coords )
QKeyFrame (QVector2D coords , QVector2D lh , QVector2D rh )
QVector2D coordinates () const
Qt3DAnimation::QKeyFrame::InterpolationType interpolationType () const
QVector2D leftControlPoint () const
QVector2D rightControlPoint () const
void setCoordinates (QVector2D coords )
void setInterpolationType (Qt3DAnimation::QKeyFrame::InterpolationType interp )
void setLeftControlPoint (QVector2D lh )
void setRightControlPoint (QVector2D rh )

详细描述

用于处理关键帧的基类。

成员类型文档编制

enum QKeyFrame:: InterpolationType

成员函数文档编制

QKeyFrame:: QKeyFrame ()

Default constructs an instance of QKeyFrame.

QKeyFrame:: QKeyFrame ( QVector2D coords )

Default constructs an instance of QKeyFrame.

QKeyFrame:: QKeyFrame ( QVector2D coords , QVector2D lh , QVector2D rh )

Default constructs an instance of QKeyFrame.

QVector2D QKeyFrame:: coordinates () const

另请参阅 setCoordinates ().

Qt3DAnimation::QKeyFrame::InterpolationType QKeyFrame:: interpolationType () const

另请参阅 setInterpolationType ().

QVector2D QKeyFrame:: leftControlPoint () const

另请参阅 setLeftControlPoint ().

QVector2D QKeyFrame:: rightControlPoint () const

另请参阅 setRightControlPoint ().

void QKeyFrame:: setCoordinates ( QVector2D coords )

另请参阅 coordinates ().

void QKeyFrame:: setInterpolationType ( Qt3DAnimation::QKeyFrame::InterpolationType interp )

另请参阅 interpolationType ().

void QKeyFrame:: setLeftControlPoint ( QVector2D lh )

另请参阅 leftControlPoint ().

void QKeyFrame:: setRightControlPoint ( QVector2D rh )

另请参阅 rightControlPoint ().