LDKGrassInteractComponent

typedef struct LDKGrassInteractComponent{
  bool enabled;
  float radius;
  float strength;
}LDKGrassInteractComponent;
Function in ldk_grass_interact.h

ldk_grass_interact_component_make_default

Create default settings for grass interact component.

LDK_API LDKGrassInteractComponent ldk_grass_interact_component_make_default(void);

Returns

A value initialized with the engine defaults.

Function in ldk_grass_interact.h

ldk_grass_interact_component_desc

Build the ECS registration descriptor for the grass interact component.

LDK_API LDKComponentDesc ldk_grass_interact_component_desc(u32 initial_capacity);

Parameters

u32 initial_capacity
Initial number of entries reserved in the registry.

Returns

A descriptor for the requested component or resource.