LDKEntity
typedef XHandle LDKEntity;
typedef XHandle LDKEntity;
Count the entity alive.
LDK_API u32 ldk_entity_alive_count(LDKEntityRegistry *system);
LDKEntityRegistry *systemNumber of matching entries.
Create the entity.
LDK_API LDKEntity ldk_entity_create(LDKEntityRegistry *system);
LDKEntityRegistry *systemThe requested value.
Destroy the entity.
LDK_API void ldk_entity_destroy(
LDKEntityRegistry *system,
LDKEntity entity
);
LDKEntityRegistry *systemLDKEntity entityGet read-only information about an entity.
LDK_API const LDKEntityInfo * ldk_entity_get_info_const(
LDKEntityRegistry *system,
LDKEntity entity
);
LDKEntityRegistry *systemLDKEntity entityPointer to the requested object or data; NULL when unavailable.
Get the entity info.
LDK_API LDKEntityInfo * ldk_entity_info_get(
LDKEntityRegistry *system,
LDKEntity entity
);
LDKEntityRegistry *systemLDKEntity entityPointer to the requested object or data; NULL when unavailable.
Check whether the entity refers to a live resource.
LDK_API bool ldk_entity_is_alive(
LDKEntityRegistry *system,
LDKEntity entity
);
LDKEntityRegistry *systemLDKEntity entityTrue when the queried condition holds; false otherwise.
Get the entity transform.
LDK_API LDKTransform * ldk_entity_transform_get(
LDKEntityRegistry *entity_module,
LDKComponentRegistry *component_module,
LDKEntity entity
);
LDKEntityRegistry *entity_moduleLDKComponentRegistry *component_moduleLDKEntity entityPointer to the requested object or data; NULL when unavailable.
Get read-only access to the entity transform.
LDK_API const LDKTransform * ldk_entity_transform_get_const(
LDKEntityRegistry *entity_module,
LDKComponentRegistry *component_module,
LDKEntity entity
);
LDKEntityRegistry *entity_moduleLDKComponentRegistry *component_moduleLDKEntity entityPointer to the requested object or data; NULL when unavailable.