> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# SceneClass

> A scene class, as given to ctx.scenes.load.

Defined in: [modules/scene/src/scene.ts:23](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/scene/src/scene.ts#L23)

A scene class, as given to `ctx.scenes.load`.

## Type Parameters

### TParams

`TParams` = `unknown`

Shape of the params the scene expects.

## Constructors

### Constructor

> **new SceneClass**(): [`Scene`](https://docs.nanoforge.eu/references/engine/3.0.0/scene/classes/Scene)\<`TParams`>

Defined in: [modules/scene/src/scene.ts:27](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/scene/src/scene.ts#L27)

#### Returns

[`Scene`](https://docs.nanoforge.eu/references/engine/3.0.0/scene/classes/Scene)\<`TParams`>

## Properties

### name

> `readonly` **name**: `string`

Defined in: [modules/scene/src/scene.ts:26](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/scene/src/scene.ts#L26)

***

### parent?

> `readonly` `optional` **parent?**: `SceneClass`\<`never`>

Defined in: [modules/scene/src/scene.ts:25](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/scene/src/scene.ts#L25)

The scene this one is loaded under (see `Scene.parent`).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.