---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/ILightRig
---

# ILightRig

## Overview

`ILightRig` is a interface in Aspose.Slides FOSS for Java.

Represents a light rig.

This interface provides 6 methods for working with ILightRig objects in Java programs.
Available methods include: `getDirection`, `getLightType`, `getRotation`, `setDirection`, `setLightType`, `setRotation`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `direction`, `lightType`, `rotation`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `direction` | `LightingDirection` | Read | Returns the light direction. |
| `lightType` | `LightRigPresetType` | Read | Returns the light type. |
| `rotation` | `double[]` | Read | Gets the rotation as [latitude, longitude, revolution] in degrees. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getDirection()` → `LightingDirection` | Returns the light direction. |
| `setDirection(value: LightingDirection)` | Sets the light direction. |
| `getLightType()` → `LightRigPresetType` | Returns the light type. |
| `setLightType(value: LightRigPresetType)` | Sets the light type. |
| `setRotation(latitude: double, longitude: double, revolution: double)` | Sets the rotation of the light rig. |
| `getRotation()` → `double[]` | Gets the rotation as [latitude, longitude, revolution] in degrees. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)