Struct EcsUnit

Synopsis

#include <include/flecs/addons/meta.h>

typedef struct EcsUnit

Description

No description yet.

Source

Lines 262-268 in include/flecs/addons/meta.h.

typedef struct EcsUnit {
    char *symbol;
    ecs_entity_t prefix; /* Order of magnitude prefix relative to derived */
    ecs_entity_t base; /* Base unit (e.g. "meters") */
    ecs_entity_t over; /* Over unit (e.g. "per second") */
    ecs_unit_translation_t translation; /* Translation for derived unit */
} EcsUnit;