Skip to content

How to iterate and remove QEntity? #11

@zhangfq-chemistry

Description

@zhangfq-chemistry

I have several QEntities inside the root, then how to remove one of them?
for example:
for(int i=0;i++;i<10) {
auto cuboidEntity = new Qt3DCore::QEntity(root);
cuboidEntity ->setId(i);
}

???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions