内容表

上一话题

Qt3DCore.QNodeCommand

下一话题

Qt3DCore.QNodeDestroyedChange

Qt3DCore.QNodeCreatedChangeBase

QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange 事件。 更多

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore.QNodeCreatedChangeBase

继承者: Qt3DRender.QFrameGraphNodeCreatedChangeBase

概要

详细描述

QNodeCreatedChangeBase class is the base class for all QSceneChange events that have the changeType() NodeCreated . You should not need to instantiate this class. Usually you should be using one of its subclasses such as QNodeCreatedChange .

You can subclass this to create your own node update types for communication between your QNode and QBackendNode subclasses when writing your own aspects.

class PySide2.Qt3DCore.Qt3DCore. QNodeCreatedChangeBase ( node )

注意

This constructor is deprecated.

param node

QNode

构造新 QNodeCreatedChangeBase with node .

PySide2.Qt3DCore.Qt3DCore.QNodeCreatedChangeBase. isNodeEnabled ( )
返回类型

bool

Returns node enabled.

PySide2.Qt3DCore.Qt3DCore.QNodeCreatedChangeBase. parentId ( )
返回类型

QNodeId

Returns parent id.