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

# View

> One named view of the model.

## Import

```typescript theme={null}
import { View } from '@opengeometry/floorkit';
```

## Constructor

```typescript theme={null}
constructor(options: IViewOptions);
```

<ParamField path="options.ogid" type="string" />

<ParamField path="options.container" type="HTMLElement" />

<ParamField path="options.bounds" type="{ min: { x: number; y: number; z: number; }; max: { x: number; y: number; z: number; }; }" required />

<ParamField path="options.camera" type="{ position: { x: number; y: number; z: number; }; target: { x: number; y: number; z: number; }; }" required />

<ParamField path="options.lockCamera" type="boolean" />

<ParamField path="options.elementOverides" type="{ [elementId: string]: { options: any; }; }" />

## Properties

<ResponseField name="ogid" type="string" />

<ResponseField name="active" type="boolean">
  Sets the active state of the view. When a view is active, it can be rendered and interacted with.
  Inactive views are not rendered and do not respond to user interactions.
</ResponseField>

## Related

* [`IViewOptions`](/floorkit/api/views/view-manager#iviewoptions)


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