QNodeCreatedChangeBase Class | Qt 3D 5.12.4

Qt 5.12 | Qt 3D | C++ Classes | QNodeCreatedChangeBase

Qt 5.12.4 Reference Documentation

# QNodeCreatedChangeBase Class

(Qt3DCore::QNodeCreatedChangeBase)

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events. More...

Header: | #include <Qt3DCore/QNodeCreatedChangeBase>
qmake: | QT += 3dcore
Inherits: | Qt3DCore::QSceneChange
Inherited By: | Qt3DAnimation::QChannelMappingCreatedChangeBase, Qt3DAnimation::QClipBlendNodeCreatedChangeBase, Qt3DCore::QNodeCreatedChange, Qt3DInput::QPhysicalDeviceCreatedChangeBase, and Qt3DRender::QFrameGraphNodeCreatedChangeBase

- List of all members, including inherited members

## Public Functions

| QNodeCreatedChangeBase(const Qt3DCore::QNode *node)
virtual | ~QNodeCreatedChangeBase()
bool | isNodeEnabled() const
const QMetaObject * | metaObject() const
Qt3DCore::QNodeId | parentId() const

- 4 public functions inherited from Qt3DCore::QSceneChange

## Protected Functions

| QNodeCreatedChangeBase(Qt3DCore::QNodeCreatedChangeBasePrivate &dd, const Qt3DCore::QNode *node)

## Related Non-Members

typedef | QNodeCreatedChangeBasePtr

## Detailed Description

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events.

The 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.

## Member Function Documentation

### QNodeCreatedChangeBase::QNodeCreatedChangeBase(const Qt3DCore::QNode *node)

Constructs a new QNodeCreatedChangeBase with node.

### `[protected]` QNodeCreatedChangeBase::QNodeCreatedChangeBase(Qt3DCore::QNodeCreatedChangeBasePrivate &dd, const Qt3DCore::QNode *node)

Default constructs an instance of QNodeCreatedChangeBase.

### `[virtual]` QNodeCreatedChangeBase::~QNodeCreatedChangeBase()

Destroys the instance of QNodeCreatedChangeBase. The destructor is virtual.

### bool QNodeCreatedChangeBase::isNodeEnabled() const

Returns node enabled.

### const QMetaObject *QNodeCreatedChangeBase::metaObject() const

Returns metaobject.

### Qt3DCore::QNodeId QNodeCreatedChangeBase::parentId() const

Returns parent id.

## Related Non-Members

### typedef Qt3DCore::QNodeCreatedChangeBasePtr

A shared pointer for QNodeCreatedChangeBase.