BackgroundDefinition constructor

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

Implementation

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