# SceneSchema

Class · category: Other

Source: https://github.com/playcanvas/editor-api/blob/4303c34bcee9a418297350899ad3a3f555526ec4/src/schema/scene.ts#L7

Provides methods to access the render schema

## Constructors

### constructor

```ts
new SceneSchema(schema: Schema)
```

Creates new instance of API

**Parameters**

- `schema` ([`Schema`](https://api.playcanvas.com/editor/classes/Schema.md)): The schema API

## Methods

### getDefaultPhysicsSettings

```ts
getDefaultPhysicsSettings(): Record<string, any>
```

Get the default physics scene settings for the project

**Returns** `Record<string, any>`: The default physics scene settings

**Example**

```javascript
const scenePhysicsSettings = editor.schema.scene.getDefaultPhysicsSettings();
```

### getDefaultRenderSettings

```ts
getDefaultRenderSettings(): Record<string, any>
```

Get the default render scene settings for the project

**Returns** `Record<string, any>`: The default physics scene settings

**Example**

```javascript
const sceneRenderSettings = editor.schema.scene.getDefaultRenderSettings();
```
