VisualDefinition constructor

VisualDefinition({
  1. required String texture,
  2. VectorDefinition offset = VectorDefinition.zero,
  3. required VectorDefinition? size,
})

Implementation

VisualDefinition(
    {required this.texture,
    this.offset = VectorDefinition.zero,
    required this.size});