Typedef in ldk_entity.h

LDKEntity

typedef XHandle LDKEntity;
Function in ldk_entity.h

ldk_entity_get_info_const

Get read-only information about an entity.

LDK_API const LDKEntityInfo * ldk_entity_get_info_const(
 LDKEntityRegistry *system,
 LDKEntity entity
);

Parameters

LDKEntityRegistry *system
System used by this operation.
LDKEntity entity
Entity to inspect or modify.

Returns

Pointer to the requested object or data; NULL when unavailable.

Function in ldk_entity.h

ldk_entity_is_alive

Check whether the entity refers to a live resource.

LDK_API bool ldk_entity_is_alive(
 LDKEntityRegistry *system,
 LDKEntity entity
);

Parameters

LDKEntityRegistry *system
System used by this operation.
LDKEntity entity
Entity to inspect or modify.

Returns

True when the queried condition holds; false otherwise.

Function in ldk_entity.h

ldk_entity_transform_get_const

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
);

Parameters

LDKEntityRegistry *entity_module
Entity module used by this operation.
LDKComponentRegistry *component_module
Component module used by this operation.
LDKEntity entity
Entity to inspect or modify.

Returns

Pointer to the requested object or data; NULL when unavailable.