PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

class QSpriteSheetItem

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheetItem 的继承图

概要

属性

方法

插槽

信号

注意

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

详细描述

注意

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

property heightᅟ: int
Access functions:
property widthᅟ: int
Access functions:
property xᅟ: int
Access functions:
property yᅟ: int
Access functions:
__init__([parent=None])
Parameters:

parentQNode

height()
Return type:

整数

属性 heightᅟ 的获取器。

heightChanged(height)
Parameters:

height – int

属性 heightᅟ 的通知信号。

setHeight(height)
Parameters:

height – int

属性 heightᅟ 的设置器。

setWidth(width)
Parameters:

width – 整数

属性 widthᅟ 的设置器。

setX(x)
Parameters:

x – 整数

属性 xᅟ 的设置器。

setY(y)
Parameters:

y – 整数

属性 yᅟ 的设置器。

width()
Return type:

整数

属性 widthᅟ 的获取器。

widthChanged(width)
Parameters:

width – 整数

属性 widthᅟ 的通知信号。

x()
Return type:

整数

属性 xᅟ 的获取器。

xChanged(x)
Parameters:

x – 整数

属性 xᅟ 的通知信号。

y()
Return type:

整数

属性 yᅟ 的获取器。

yChanged(y)
Parameters:

y – 整数

属性 yᅟ 的通知信号。