world__get_components

Function world__get_components 

Source
pub unsafe extern "C" fn world__get_components(
    entity: EntityHandle,
    components_ptr: *mut ComponentType,
    components_len: u32,
    __ark_ffi_output: *mut u32,
) -> ErrorCode
Expand 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.