PySide6.Qt3DExtras.Qt3DExtras.QAbstractSpriteSheet

class QAbstractSpriteSheet

PySide6.Qt3DExtras.Qt3DExtras.QAbstractSpriteSheet 的继承图

继承者: QSpriteSheet, QSpriteGrid

概要

属性

方法

插槽

信号

注意

本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。

详细描述

注意

当使用from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。

property currentIndexᅟ: int
Access functions:
property textureᅟ: QAbstractTexture
Access functions:
property textureTransformᅟ: QMatrix3x3
Access functions:
currentIndex()
Return type:

整数

属性 currentIndexᅟ 的获取器。

currentIndexChanged(currentIndex)
Parameters:

currentIndex – int

属性 currentIndexᅟ 的通知信号。

setCurrentIndex(currentIndex)
Parameters:

currentIndex – int

属性 currentIndexᅟ 的设置器。

setTexture(texture)
Parameters:

纹理QAbstractTexture

属性 textureᅟ 的设置器。

texture()
Return type:

QAbstractTexture

属性 textureᅟ 的获取器。

textureChanged(texture)
Parameters:

纹理QAbstractTexture

属性 textureᅟ 的通知信号。

textureTransform()
Return type:

QMatrix3x3

属性 textureTransformᅟ 的获取器。

textureTransformChanged(textureTransform)
Parameters:

textureTransformQMatrix3x3

属性 textureTransformᅟ 的通知信号。