Skip to content

EffectTypeOptions beta ​

Interface of @v12-engine/engine

ts
export interface EffectTypeOptions

What a kind of effect says besides what it does (defineEffect): the fields it reads, each the name of one of the engine's (EffectFields) or said in full, its path the field's name in the effect ({ path: 'pull', kind: 'number' })

Members ​

fields ​

ts
fields?: readonly (keyof EffectFields | EditableField)[];

The fields an effect of the type reads, each the name of an engine field (EffectFields) or a full EditableField