Function in ldk_scenegraph.h

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.

Function in ldk_scenegraph.h

ldk_scenegraph_update_entity

Update scene-graph state for an entity.

LDK_API bool ldk_scenegraph_update_entity(LDKEntity entity);

Parameters

LDKEntity entity
Entity to inspect or modify.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_scenegraph.h

ldk_scenegraph_set_parent

Set an entity parent in the scene graph.

LDK_API bool ldk_scenegraph_set_parent(
 LDKEntity child_entity,
 LDKEntity parent_entity
);

Parameters

LDKEntity child_entity
Entity whose parent is being set.
LDKEntity parent_entity
Parent entity to assign.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_scenegraph.h

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.