com.io7m.r2.core

## Interface R2LightWritableType

- All Known Subinterfaces:
    R2LightProjectiveType, R2LightProjectiveUsableType, R2LightProjectiveWithoutShadowType, R2LightProjectiveWithoutShadowWritableType, R2LightProjectiveWithShadowReadableType, R2LightProjectiveWithShadowType, R2LightProjectiveWithShadowVarianceType, R2LightProjectiveWithShadowWritableType, R2LightProjectiveWritableType, R2LightScreenSingleType, R2LightSingleType, R2LightSingleWritableType, R2LightSphericalSingleType, R2LightSphericalSingleWritableType, R2LightSphericalType, R2LightSphericalWritableType, R2LightType, R2LightVolumeSingleType, R2LightVolumeSingleWritableType, R2LightWithShadowSingleType
  All Known Implementing Classes:
    R2LightAmbientScreenSingle, R2LightDirectionalScreenSingle, R2LightProjectiveWithoutShadow, R2LightProjectiveWithShadowVariance, R2LightSphericalSingle

      public interface R2LightWritableType

  The type of writable lights.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.io7m.jtensors.parameterized.PVector3FType<R2SpaceRGBType>` | `colorWritable()`
    `void` | `setIntensity(float i)` Set the current light intensity

- - ### Method Detail

    - #### colorWritable

          com.io7m.jtensors.parameterized.PVector3FType<R2SpaceRGBType> colorWritable()

      Returns:
        The readable/writable light color

    - #### setIntensity

          void setIntensity(float i)

      Set the current light intensity
      Parameters:
        `i` - The intensity (typically `[0.0 .. 1.0]`)

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