addToScene method
- SceneBuilder builder
override
Override this method to upload this layer to the engine.
Implementation
@override
void addToScene(ui.SceneBuilder builder) {
builder.addTexture(
textureId,
offset: rect.topLeft,
width: rect.width,
height: rect.height,
freeze: freeze,
filterQuality: filterQuality,
);
}