Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
EcsUnit Struct Reference

Component that stores unit data. More...

#include <meta.h>

Public Attributes

char * symbol
 Unit symbol.
 
ecs_entity_t prefix
 Order of magnitude prefix relative to derived.
 
ecs_entity_t base
 Base unit (e.g.
 
ecs_entity_t over
 Over unit (e.g.
 
ecs_unit_translation_t translation
 Translation for derived unit.
 

Detailed Description

Component that stores unit data.

Definition at line 478 of file meta.h.

Member Data Documentation

◆ base

ecs_entity_t EcsUnit::base

Base unit (e.g.

"meters")

Definition at line 481 of file meta.h.

◆ over

ecs_entity_t EcsUnit::over

Over unit (e.g.

"per second")

Definition at line 482 of file meta.h.

◆ prefix

ecs_entity_t EcsUnit::prefix

Order of magnitude prefix relative to derived.

Definition at line 480 of file meta.h.

◆ symbol

char* EcsUnit::symbol

Unit symbol.

Definition at line 479 of file meta.h.

◆ translation

ecs_unit_translation_t EcsUnit::translation

Translation for derived unit.

Definition at line 483 of file meta.h.


The documentation for this struct was generated from the following file: