# Model

class `cee.``Model`()

  Common interface for all models.

Constructors

- `constructor`

Properties

- `name`

Methods

- `getBoundingBox`
- `getDefaultCameraConfig`

## Constructors

`Model.``constructor`()

  Return type: | Model

## Properties

`Model.``name`

  Type: | string

  Name of the model.

  Mainly used for debugging.

## Methods

### getBoundingBox

`Model.``getBoundingBox`([options])

  Arguments: | options (`ModelBoundingBoxOptions`) – optional None

  Returns the current `BoundingBox` (in world coordinates) of the model.

  When called without any parameters this method will return the current bounding box of the model, including only visible parts/objects. For models that support it, the full bounding box can may queried by specifying the optional `ModelBoundingBoxOptions` and setting `ModelBoundingBoxOptions.includeHiddenParts` to true.

  Return type: | BoundingBox

### getDefaultCameraConfig

`Model.``getDefaultCameraConfig`()

  Can return an optional default camera configuration for this model.

  If a model returns a default camera config, any views displaying the model may utilize the information to do first-time setup of their camera. The camera config will not have any effect on views where the camera has already been set by the user. If multiple models are shown in the same view, the first model with a default camera config will take precedence.

  Return type: | CameraConfig

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Web or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...