Struct in ldk_scene.h

LDKSceneProperties

typedef struct LDKSceneProperties{
  rgba32 ambient_color;
  float ambient_intensity;
}LDKSceneProperties;
Function in ldk_scene.h

ldk_scene_properties_get

Get the scene properties.

LDK_API const LDKSceneProperties * ldk_scene_properties_get(void);

Returns

Pointer to the requested object or data; NULL when unavailable.

Function in ldk_scene.h

ldk_scene_properties_reset

Reset the state of the scene properties.

LDK_API void ldk_scene_properties_reset(void);
Function in ldk_scene.h

ldk_scene_properties_set

Set the scene properties.

LDK_API bool ldk_scene_properties_set(const LDKSceneProperties *properties);

Parameters

const LDKSceneProperties *properties
Scene or other property values being operated on.

Returns

True if the operation succeeds; false otherwise.