com.io7m.r2.core

## Interface R2LightProjectiveWritableType

- All Superinterfaces:
    R2LightWritableType
  All Known Subinterfaces:
    R2LightProjectiveType, R2LightProjectiveUsableType, R2LightProjectiveWithoutShadowType, R2LightProjectiveWithoutShadowWritableType, R2LightProjectiveWithShadowType, R2LightProjectiveWithShadowVarianceType, R2LightProjectiveWithShadowWritableType
  All Known Implementing Classes:
    R2LightProjectiveWithoutShadow, R2LightProjectiveWithShadowVariance

      public interface R2LightProjectiveWritableType
      extends R2LightWritableType

  The type of writable projective lights.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setFalloff(float r)` Set the light falloff exponent
    `void` | `setRadius(float r)` Set the light radius in world-space units.
    `R2TransformOTType` | `transformWritable()`

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

      `colorWritable, setIntensity`

- - ### Method Detail

    - #### transformWritable

          R2TransformOTType transformWritable()

      Returns:
        The writable transform for the light origin

    - #### setRadius

          void setRadius(float r)

      Set the light radius in world-space units.
      Parameters:
        `r` - The light radius

    - #### setFalloff

          void setFalloff(float r)

      Set the light falloff exponent
      Parameters:
        `r` - The light falloff

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