struct property

StructType<AutomationEvent> struct
final

Describes the raw memory layout, construction, and pointer representation of this struct type.

Implementation

static final StructType<AutomationEvent> struct = ._builtin(
  factory: AutomationEvent.new,
  layout: .aligned<AutomationEventField>({
    .frame:  RUnsignedInt(), // Event frame
    .type:   RUnsignedInt(), // Event type (AutomationEventType)
    .params: RArray(RInt(), BASE_paramsCount), // Event parameters (if required)
  }),
);