ldk_scenegraph_detach
Detach an entity from the scene graph.
LDK_API bool ldk_scenegraph_detach(LDKEntity entity);
Parameters
LDKEntity entity- Entity to inspect or modify.
Returns
True if the operation succeeds; false otherwise.
Detach an entity from the scene graph.
LDK_API bool ldk_scenegraph_detach(LDKEntity entity);
LDKEntity entityTrue if the operation succeeds; false otherwise.
Read the scene-graph parent of an entity.
LDK_API LDKEntity ldk_scenegraph_get_parent(LDKEntity entity);
LDKEntity entityThe requested value.
Set an entity parent in the scene graph.
LDK_API bool ldk_scenegraph_set_parent(
LDKEntity child_entity,
LDKEntity parent_entity
);
True if the operation succeeds; false otherwise.
Update the scenegraph.
LDK_API bool ldk_scenegraph_update(float dt);
float dtTrue if the operation succeeds; false otherwise.
Update scene-graph state for an entity.
LDK_API bool ldk_scenegraph_update_entity(LDKEntity entity);
LDKEntity entityTrue if the operation succeeds; false otherwise.