PySide6.Qt3DCore.Qt3DCore.QNodeId¶
- class QNodeId¶
唯一标识一个
QNode。更多…概要¶
方法¶
静态函数¶
def
createId()
注意
本文档可能包含从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。