Flecs: EcsUnit Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
Public Attributes | List of all members
EcsUnit Struct Reference
C API » Addons » Meta

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 500 of file meta.h.

## Member Data Documentation

## ◆ base

ecs_entity_t EcsUnit::base

Base unit (e.g.

"meters")

Definition at line 503 of file meta.h.

## ◆ over

ecs_entity_t EcsUnit::over

Over unit (e.g.

"per second")

Definition at line 504 of file meta.h.

## ◆ prefix

ecs_entity_t EcsUnit::prefix

Order of magnitude prefix relative to derived.

Definition at line 502 of file meta.h.

## ◆ symbol

char* EcsUnit::symbol

Unit symbol.

Definition at line 501 of file meta.h.

## ◆ translation

ecs_unit_translation_t EcsUnit::translation

Translation for derived unit.

Definition at line 505 of file meta.h.

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

- include/flecs/addons/meta.h