Contents

SushiEngine::Simulation::IWorldEditor

set_parent

virtual void set_parent(EntityId child, EntityId new_parent)=0

Parameters

NameTypeDescription
childEntityId

Entity being reparented.

new_parentEntityId

The new parent, or NULL_ENTITY for root.

Description

Reparents child under new_parent.

See also

engine/world/simulation/include/EDITOR.md