Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Units.

Common unit annotations for reflection framework. More...

Collaboration diagram for Units.:

Topics

 Prefixes
 Prefixes to indicate unit count (e.g., Kilo, Mega).
 Duration
 Time
 Mass
 Electric Current
 Amount
 Luminous Intensity
 Force
 Length
 Pressure
 Speed
 Temperature
 Data
 Data Rate
 Angle
 Frequency
 Uri
 Color

Functions

FLECS_API void FlecsUnitsImport (ecs_world_t *world)
 Units module import function.

Variables

FLECS_API ecs_entity_t EcsAcceleration
 Acceleration unit.
FLECS_API ecs_entity_t EcsPercentage
 Percentage unit.
FLECS_API ecs_entity_t EcsBel
 Bel unit.
FLECS_API ecs_entity_t EcsDeciBel
 DeciBel unit.

Detailed Description

Common unit annotations for reflection framework.

Macro Definition Documentation

◆ FLECS_UNITS_H

#define FLECS_UNITS_H

Definition at line 44 of file units.h.

Function Documentation

◆ FlecsUnitsImport()

FLECS_API void FlecsUnitsImport ( ecs_world_t * world)

Units module import function.

Usage:

ECS_IMPORT(world, FlecsUnits)
#define ECS_IMPORT(world, id)
Wrapper around ecs_import().
Definition module.h:125
Parameters
worldThe world.