def _get_ent_parameters(ent):
    """Gathers float and boolean parameters for the given entity.
    """
    param_ids = type(ent).float_ids + type(ent).bool_ids
    return {param_id: getattr(ent, param_id) for param_id in param_ids}