Contents

SushiEngine::Simulation::IWorldEditor

create

virtual EntityId create(const std::string &name)=0

Parameters

NameTypeDescription
nameconst std::string &

Display name for the new entity.

Returns

EntityId

The new entity's stable id.

Description

Creates a static entity at the origin and selects nothing.

See also

engine/world/simulation/include/EDITOR.md