Function ambient_api::entity::set_component
source · pub fn set_component<T>(entity: EntityId, component: Component<T>, value: T)where
T: SupportedValue,
Expand description
Sets the component component
for entity
with value
.