ldk_scene_component_field_find
Find the scene component field.
LDK_API const LDKComponentFieldMeta * ldk_scene_component_field_find(
const LDKComponentMeta *meta,
const char *field_name
);
Parameters
const LDKComponentMeta *meta
- Meta used by this operation.
const char *field_name
- Field name used by this operation.
Returns
Pointer to the requested object or data; NULL when unavailable.
ldk_scene_component_field_is_serializable
Check whether a component field may be saved in a scene.
LDK_API bool ldk_scene_component_field_is_serializable(
const LDKComponentMeta *meta,
const LDKComponentFieldMeta *field
);
Parameters
const LDKComponentMeta *meta
- Meta used by this operation.
const LDKComponentFieldMeta *field
- Field used by this operation.
Returns
True when the queried condition holds; false otherwise.
ldk_scene_component_meta_find_by_type
Find serialized component metadata for a runtime type.
LDK_API const LDKComponentMeta * ldk_scene_component_meta_find_by_type(
LDKGame *game,
u32 component_type
);
Parameters
LDKGame *game
- Game instance associated with this operation.
u32 component_type
- Registered ECS component type identifier.
Returns
Pointer to the requested object or data; NULL when unavailable.
ldk_scene_component_meta_runtime_type
Resolve the runtime component type for reflected scene metadata.
LDK_API u32 ldk_scene_component_meta_runtime_type(const LDKComponentMeta *meta);
Parameters
const LDKComponentMeta *meta
- Meta used by this operation.
Returns
The resulting numeric value.