Skip to content

BehaviorXYListConfig<DataType>

ts
type BehaviorXYListConfig<DataType> = object;

Common type defining XY list-based configuration for various behaviors.

Type Parameters

DataType

DataType

Type of data contained within the lists.

Properties

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.


xListData

ts
xListData: ListData<DataType>;

List data defining X-axis values.

See

ListData


yListData?

ts
optional yListData: ListData<DataType>;

List data defining Y-axis values.

See

ListData