Contents

SushiEngine::Simulation::IWorldEditor

move_entity

virtual void move_entity(EntityId id, EntityId target, bool insert_after)=0

Parameters

NameTypeDescription
idEntityId

The entity to move.

targetEntityId

The target entity to move relative to.

insert_afterbool

If true, moves id after target. If false, moves id before target.

Description

Changes the display order of an entity relative to a target entity.