Function in ldk_transform.h

ldk_transform_get_local_position

Get transform local position.

LDK_API bool ldk_transform_get_local_position(
 LDKEntity entity,
 Vec3 *out_position
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Vec3 *out_position
Receives the resulting position.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_transform.h

ldk_transform_get_local_rotation

Get transform local rotation.

LDK_API bool ldk_transform_get_local_rotation(
 LDKEntity entity,
 Quat *out_rotation
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Quat *out_rotation
Receives the resulting rotation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_transform.h

ldk_transform_get_local_scale

Get transform local scale.

LDK_API bool ldk_transform_get_local_scale(
 LDKEntity entity,
 Vec3 *out_scale
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Vec3 *out_scale
Receives the resulting scale.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_transform.h

ldk_transform_set_local_position

Set transform local position.

LDK_API bool ldk_transform_set_local_position(
 LDKEntity entity,
 Vec3 position
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Vec3 position
Position used by the operation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_transform.h

ldk_transform_set_local_rotation

Set transform local rotation.

LDK_API bool ldk_transform_set_local_rotation(
 LDKEntity entity,
 Quat rotation
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Quat rotation
Rotation used by the operation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_transform.h

ldk_transform_set_local_scale

Set transform local scale.

LDK_API bool ldk_transform_set_local_scale(
 LDKEntity entity,
 Vec3 scale
);

Parameters

LDKEntity entity
Entity to inspect or modify.
Vec3 scale
Scale used by the operation.

Returns

True if the operation succeeds; false otherwise.