Flecs: ecs_unit_prefix_desc_t 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
ecs_unit_prefix_desc_t Struct Reference
C API » Addons » Meta

Used with ecs_unit_prefix_init(). More...

`#include <meta.h>`

## Public Attributes
ecs_entity_t | entity
| Existing entity to associate with unit prefix (optional).
const char * | symbol
| Unit symbol, e.g.
ecs_unit_translation_t | translation
| Translation to apply to derived unit (optional).

## Detailed Description

Used with ecs_unit_prefix_init().

Definition at line 1149 of file meta.h.

## Member Data Documentation

## ◆ entity

ecs_entity_t ecs_unit_prefix_desc_t::entity

Existing entity to associate with unit prefix (optional).

Definition at line 1151 of file meta.h.

## ◆ symbol

const char* ecs_unit_prefix_desc_t::symbol

Unit symbol, e.g.

"m", "%", "g". (optional).

Definition at line 1154 of file meta.h.

## ◆ translation

ecs_unit_translation_t ecs_unit_prefix_desc_t::translation

Translation to apply to derived unit (optional).

Definition at line 1157 of file meta.h.

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

- include/flecs/addons/meta.h