PySide6.Qt3DCore.Qt3DCore.QNodeId

class QNodeId

唯一标识一个QNode更多

概要

方法

静态函数

注意

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

详细描述

__init__()
static createId()
Return type:

QNodeId

返回节点ID。

id()
Return type:

整数

返回

isNull()
Return type:

布尔

返回

__ne__(other)
Parameters:

其他QNodeId

Return type:

布尔

如果 this 不等于 other,则返回 true

__lt__(other)
Parameters:

其他QNodeId

Return type:

布尔

如果 this 小于 other,则返回 true

__eq__(other)
Parameters:

其他QNodeId

Return type:

布尔

如果 this == other,则返回 true

__gt__(other)
Parameters:

其他QNodeId

Return type:

布尔

如果 this > other,则返回 true