PySide6.Qt3DExtras.Qt3DExtras.QAbstractSpriteSheet¶
- class QAbstractSpriteSheet¶
-
继承者:
QSpriteSheet,QSpriteGrid概要¶
属性¶
方法¶
def
currentIndex()def
texture()
插槽¶
def
setTexture()
信号¶
注意
本文档可能包含从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:
属性
textureTransformᅟ的获取器。- textureTransformChanged(textureTransform)¶
- Parameters:
textureTransform –
QMatrix3x3
属性
textureTransformᅟ的通知信号。