BackgroundDefinition constructor

BackgroundDefinition({
  1. VectorDefinition offset = VectorDefinition.zero,
  2. VectorDefinition? size,
  3. required String texture,
  4. int priority = 0,
})

Implementation

BackgroundDefinition({
  super.offset,
  super.size,
  required super.texture,
  this.priority = 0,
});