SceneDecoratorStrategy


public fun interface SceneDecoratorStrategy<T extends Object>


A strategy that tries to decorate a Scene given another Scene.

Summary

Public methods

abstract @NonNull Scene<@NonNull T>
decorateScene(
    @NonNull SceneDecoratorStrategyScope<@NonNull T> receiver,
    @NonNull Scene<@NonNull T> scene
)

Decorates the given Scene.

Public methods

decorateScene

Added in 1.1.0-alpha04
abstract @NonNull Scene<@NonNull T> decorateScene(
    @NonNull SceneDecoratorStrategyScope<@NonNull T> receiver,
    @NonNull Scene<@NonNull T> scene
)

Decorates the given Scene.

The newly returned Scene may or may not include the content of the given scene.

Parameters
@NonNull Scene<@NonNull T> scene

The scene to be decorated