Function in ldk_transform.h

ldk_transform_get_world_matrix

Get transform world matrix.

LDK_API bool ldk_transform_get_world_matrix(
 LDKEntity entity,
 Mat4 *out_world_matrix
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Mat4 *out_world_matrix
Receives the computed world transformation matrix.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_transform.h

ldk_transform_set_parent

Set transform parent.

LDK_API bool ldk_transform_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.