public interface R2LightProjectiveReadableType extends R2LightVolumeSingleReadableType
Modifier and Type | Method and Description |
---|---|
double |
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.core.parameterized.vectors.PVector3D<R2SpaceWorldType> |
position() |
R2ProjectionReadableType |
projection() |
double |
radius() |
R2TransformViewReadableType |
transform() |
arrayObject, matchLightSingle
color, intensity, lightID
double radius()
double falloff()
R2ProjectionReadableType projection()
R2Texture2DUsableType image()
R2TransformViewReadableType transform()
transform
in interface R2LightSingleReadableType
com.io7m.jtensors.core.parameterized.vectors.PVector3D<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
R2LightVolumeSingleReadableType
matchLightVolumeSingleReadable
in interface R2LightVolumeSingleReadableType
A
- 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 lightsB
E
- If any of the given functions raise E
E 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 shadowsB
E
- If any of the given functions raise E
E extends Throwable
Copyright © 2017 <code@io7m.com> http://io7m.com