public interface R2LightScreenSingleType extends R2LightSingleType
| Modifier and Type | Method and Description |
|---|---|
default <A,B,E extends Throwable> |
matchLightSingle(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightVolumeSingleType,B,E> on_volume,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightScreenSingleType,B,E> on_screen)
Match on the type of light.
|
arrayObject, transformcolor, intensity, lightIDcolorWritable, setIntensitydefault <A,B,E extends Throwable> B matchLightSingle(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightVolumeSingleType,B,E> on_volume, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightScreenSingleType,B,E> on_screen) throws E extends Throwable
R2LightSingleReadableTypematchLightSingle in interface R2LightSingleReadableTypeA - The type of context valuesB - The type of returned valuesE - The type of raised exceptionscontext - A context valueon_volume - Evaluated for volume lightson_screen - Evaluated for screen lightsBE - If any of the given functions raise EE extends ThrowableCopyright © 2016 <code@io7m.com> http://io7m.com