AbstractEffect
It models an abstract implementation of the effect interface, implementing default name and visibility properties.
The effect behavior can be implemented via computeDrawCommands template method.
Parameters
<P>
the position type
Functions
Link copied to clipboard
@Contract(value = "null, null -> true; null, !null -> false; !null, null -> false")
Content copied to clipboard
The method compares two Effects to check basic properties of visibility, name and class.
Link copied to clipboard
open fun <T> computeDrawCommands(environment: Environment<T, P>): Queue<DrawCommand<P>>
Content copied to clipboard
Computes a queue of commands to Draw something.
Link copied to clipboard
Sets the visibility of the effect.