com.io7m.r2.core

## Interface R2LightReadableType

- All Known Subinterfaces:
    R2LightProjectiveReadableType, R2LightProjectiveType, R2LightProjectiveUsableType, R2LightProjectiveWithoutShadowReadableType, R2LightProjectiveWithoutShadowType, R2LightProjectiveWithShadowReadableType, R2LightProjectiveWithShadowType, R2LightProjectiveWithShadowVarianceType, R2LightProjectiveWithShadowWritableType, R2LightScreenSingleType, R2LightSingleReadableType, R2LightSingleType, R2LightSphericalReadableType, R2LightSphericalSingleReadableType, R2LightSphericalSingleType, R2LightSphericalType, R2LightType, R2LightVolumeSingleReadableType, R2LightVolumeSingleType, R2LightWithShadowSingleType
  All Known Implementing Classes:
    R2LightAmbientScreenSingle, R2LightDirectionalScreenSingle, R2LightProjectiveWithoutShadow, R2LightProjectiveWithShadowVariance, R2LightSphericalSingle

      public interface R2LightReadableType

  The type of lights.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceRGBType>` | `color()`
    `float` | `intensity()`
    `long` | `lightID()`

- - ### Method Detail

    - #### lightID

          long lightID()

      Returns:
        The unique light ID

    - #### color

          com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceRGBType> color()

      Returns:
        The readable light color

    - #### intensity

          float intensity()

      Returns:
        The current light intensity

Copyright © 2016 <code@io7m.com> http://io7m.com