Skip to content

BehaviorSingleListConfig<DataType>

ts
type BehaviorSingleListConfig<DataType> = object;

Common type defining list-based configuration for various behaviors.

Type Parameters

DataType

DataType

Type of data contained within the list.

Properties

listData

ts
listData: ListData<DataType>;

List data defining all properties required for list-based behavior.

See

ListData


mode

ts
mode: "list" | "random";

Behavior mode.

List mode will interpolate values over the particle's lifetime based on the provided list.

Random mode will assign a random value from the list upon particle initialization.