# Sky

Class · category: Graphics

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/scene/skybox/sky.js#L16

Implementation of the sky.

## Properties

### node

```ts
readonly node: GraphNode
```

A graph node with a transform used to render the sky mesh. Adjust the position, rotation and
scale of this node to orient the sky mesh. Ignored for [SKYTYPE_INFINITE](https://api.playcanvas.com/engine/variables/SKYTYPE_INFINITE.md).

## Accessors

### center

```ts
get center(): Vec3
set center(value: Vec3)
```

Gets the center of the sky.

### depthWrite

```ts
get depthWrite(): boolean
set depthWrite(value: boolean)
```

Gets whether depth writing is enabled for the sky.

### fisheye

```ts
get fisheye(): number
set fisheye(value: number)
```

Gets the fisheye projection strength for the sky.

### type

```ts
get type(): string
set type(value: string)
```

Gets the type of the sky.
