Contents

SushiEngine::Simulation::IWorldEditor

set_material_slot

virtual void set_material_slot(EntityId id, std::size_t index, const MaterialSlot &slot)=0

Parameters

NameType
idEntityId
indexstd::size_t
slotconst MaterialSlot &

Description

Writes one of the entity's material slots.

See also

engine/world/simulation/include/EDITOR.md