内容表

上一话题

Qt3DCore.QTransform

下一话题

PySide2.Qt3DExtras

Qt3DCore

包含用于 Qt 3D 模拟框架的基础类,及提供使用 Qt 3D 框架进行渲染的能力类。 更多

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore

概要

静态函数

详细描述

PySide2.Qt3DCore.Qt3DCore. ChangeFlag

The types of change that can be sent and received by Qt3D’s change notification system.

常量

描述

Qt3DCore.QSceneChange.NodeCreated

A new instance of a QNode subclass has been created.

Qt3DCore.QSceneChange.NodeDeleted

A QNode has been deleted.

Qt3DCore.QSceneChange.PropertyUpdated

A QNode property has been updated.

Qt3DCore.QSceneChange.PropertyValueAdded

A QNode has been added to the scene.

Qt3DCore.QSceneChange.PropertyValueRemoved

A QNode has been removed from the scene.

Qt3DCore.QSceneChange.CommandRequested

A QNodeCommand has been sent between a node and its backend.

Qt3DCore.QSceneChange.ComponentAdded

A QComponent has been added to a QEntity .

Qt3DCore.QSceneChange.ComponentRemoved

A QComponent has been removed from a QEntity .

Qt3DCore.QSceneChange.CallbackTriggered

A QNode triggered a callback.

Qt3DCore.QSceneChange.AllChanges

Allows an observer to monitor for any of the above changes.

static PySide2.Qt3DCore.Qt3DCore. qHash ( id [ , seed=0 ] )
参数
返回类型

uint

Returns hash of node with id 和可选 seed .

static PySide2.Qt3DCore.Qt3DCore. qIdForNode ( node )
参数

node QNode

返回类型

QNodeId

Returns node id for node .