public interface R2LightProjectiveReadableType extends R2LightVolumeSingleReadableType
| Modifier and Type | Method and Description |
|---|---|
float |
falloff() |
R2Texture2DUsableType |
image() |
default <A,B,E extends Throwable> |
matchLightVolumeSingleReadable(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightProjectiveReadableType,B,E> on_projective,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightSphericalSingleReadableType,B,E> on_spherical)
Match on the type of volume light.
|
<A,B,E extends Throwable> |
matchProjectiveReadable(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightProjectiveWithoutShadowReadableType,B,E> on_shadowless,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightProjectiveWithShadowReadableType,B,E> on_shadowed)
Match on the type of projective light.
|
com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceWorldType> |
position() |
R2ProjectionReadableType |
projection() |
float |
radius() |
R2TransformViewReadableType |
transform() |
arrayObject, matchLightSinglecolor, intensity, lightIDfloat radius()
float falloff()
R2ProjectionReadableType projection()
R2Texture2DUsableType image()
R2TransformViewReadableType transform()
transform in interface R2LightSingleReadableTypecom.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceWorldType> position()
default <A,B,E extends Throwable> B matchLightVolumeSingleReadable(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightProjectiveReadableType,B,E> on_projective, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightSphericalSingleReadableType,B,E> on_spherical) throws E extends Throwable
R2LightVolumeSingleReadableTypematchLightVolumeSingleReadable in interface R2LightVolumeSingleReadableTypeA - The type of context valuesB - The type of returned valuesE - The type of raised exceptionscontext - A context valueon_projective - Evaluated for projective lightson_spherical - Evaluated for spherical lightsBE - If any of the given functions raise EE extends Throwable<A,B,E extends Throwable> B matchProjectiveReadable(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightProjectiveWithoutShadowReadableType,B,E> on_shadowless, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightProjectiveWithShadowReadableType,B,E> on_shadowed) throws E extends Throwable
A - The type of context valuesB - The type of returned valuesE - The type of raised exceptionscontext - A context valueon_shadowless - Evaluated for projective lights without shadowson_shadowed - Evaluated for projective lights with shadowsBE - If any of the given functions raise EE extends ThrowableCopyright © 2016 <code@io7m.com> http://io7m.com