ldk_scenegraph_update
Update the scenegraph.
LDK_API bool ldk_scenegraph_update(float dt);
Parameters
float dt- Elapsed time since the preceding update, in seconds.
Returns
True if the operation succeeds; false otherwise.
Maintain scene hierarchy and world-transform relationships.
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.
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.
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.