pub fn get_components(
entity: EntityHandle,
components: &mut [ComponentType],
) -> u32Expand description
Returns the component types associated with a specific entity.
A max_components of 0 should still give you num_components in that argument so that you can use this to allocate data and call it again with the right amount.