SushiEngine::Simulation::IWorldEditor
set_component
template <typename T>
bool set_component(EntityId id, const T &value)Parameters
| Name | Type |
|---|---|
id | EntityId |
value | const T & |
Returns
bool
False when id carries no T; the write is then refused.
Description
Overwrites id's component T with value.
Template parameters
TA trivially copyable component type.

