Contents

SushiEngine::Simulation::IWorldEditor

material_slot_count

virtual std::size_t material_slot_count(EntityId id) const =0

Parameters

NameType
idEntityId

Returns

std::size_t

At least one on an entity with a Mesh Renderer; zero without one.

Description

How many material slots the entity's Mesh Renderer holds.