Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.rico.engine.effect.light
Interface SpotLightIface

All Superinterfaces:
  LightIface, PositionalLightIface

All Known Implementing Classes:
  ShaderSpotLight, SpotLight

    public interface SpotLightIface

extends PositionalLightIface

This interface specifies neccessary methods for spot lights

Author:
  Frank Bruns

Method Summary
`float` | `getRotX()` Returns the degrees of ratation of the light along the x axis
`float` | `getRotY()` Returns the degrees of ratation of the light along the y axis
`void` | `setRotX(float rotation)` Sets the rotaton of the light along the x axis
`void` | `setRotY(float rotation)` Sets the rotaton along the y axis of the light

Methods inherited from interface de.rico.engine.effect.light.PositionalLightIface
`getPosition, setPosition, setPosition, setX, setY, setZ`

Methods inherited from interface de.rico.engine.effect.light.LightIface
`bind, destroy, release, setEnabled`

Method Detail

### setRotX

    void setRotX(float rotation)

  Sets the rotaton of the light along the x axis

  Parameters:
    `rotation` - degrees of rotation

### getRotX

    float getRotX()

  Returns the degrees of ratation of the light along the x axis

  Returns:
    light rotation along x axis

### setRotY

    void setRotY(float rotation)

  Sets the rotaton along the y axis of the light

  Parameters:
    `rotation` - degrees of rotation

### getRotY

    float getRotY()

  Returns the degrees of ratation of the light along the y axis

  Returns:
    light rotation along y axis

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD