PySide6.QtGui.QMatrix4x3

class QMatrix4x3

在版本4.6中添加。

概要

方法

注意

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

详细描述

__init__()
__init__(elements)
Parameters:

元素PySequence

__reduce__()
Return type:

字符串

__repr__()
Return type:

字符串

data()
Return type:

浮点数

fill(value)
Parameters:

value – 浮点数

isIdentity()
Return type:

布尔

__ne__(other)
Parameters:

其他QGenericMatrix

Return type:

布尔

__call__(row, column)
Parameters:
  • row – int

  • column – 整数

Return type:

浮点数

__imul__(factor)
Parameters:

factor – 浮点数

Return type:

QGenericMatrix

__iadd__(other)
Parameters:

其他QGenericMatrix

Return type:

QGenericMatrix

__isub__(other)
Parameters:

其他QGenericMatrix

Return type:

QGenericMatrix

operator/=(divisor)
Parameters:

除数 – float

Return type:

QGenericMatrix

__eq__(other)
Parameters:

其他QGenericMatrix

Return type:

布尔

setToIdentity()
transposed()
Return type:

QGenericMatrix