com.io7m.r2.core

## Interface R2LightSphericalReadableType

- All Superinterfaces:
    R2LightReadableType
  All Known Subinterfaces:
    R2LightSphericalSingleReadableType, R2LightSphericalSingleType, R2LightSphericalType
  All Known Implementing Classes:
    R2LightSphericalSingle

      public interface R2LightSphericalReadableType
      extends R2LightReadableType

  The type of readable spherical lights.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `float` | `falloff()`
    `com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceWorldType>` | `originPosition()`
    `float` | `radius()`

    - ### Methods inherited from interface com.io7m.r2.core.R2LightReadableType

      `color, intensity, lightID`

- - ### Method Detail

    - #### radius

          float radius()

      Returns:
        The light radius

    - #### falloff

          float falloff()

      Returns:
        The light falloff exponent

    - #### originPosition

          com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceWorldType> originPosition()

      Returns:
        The position of the origin of the light in world-space

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