# ModelSettings

class `cee.ug.``ModelSettings`()

  Various settings for the RemoteModel.

Accessors

- `modelColorSource`
- `transformationMatrix`
- `useFirstOrderElementNodesOnly`

Methods

- `getAsProperties`
- `setFromProperties`

## Accessors

`ModelSettings.``modelColorSource`()

  Specify how to color the parts if no fringesResults are used.

  This will determine how to color each face of the model if no fringesResults are used. Default is PART (use part colors).

  Return type: | ModelColorSource

`ModelSettings.``modelColorSource`(colorSource)

  Arguments: | colorSource (`ModelColorSource`) – None
  Return type: | void

`ModelSettings.``transformationMatrix`()

  The transformation matrix to use for this model.

  If specified, all parts in the model will be transformed by this matrix. This can be useful for scene composition. The default is null.

  Return type: | Mat4

`ModelSettings.``transformationMatrix`(transformationMatrix)

  Arguments: | transformationMatrix (`Mat4`) – None
  Return type: | void

`ModelSettings.``useFirstOrderElementNodesOnly`()

  When enabled, only the first order element nodes will be considered. For example, Quad8 is visualized as Quad4, dropping the mid-nodes.

  Return type: | boolean

`ModelSettings.``useFirstOrderElementNodesOnly`(useFirstOrderElementNodesOnly)

  Arguments: | useFirstOrderElementNodesOnly (`boolean`) – None
  Return type: | void

## Methods

### getAsProperties

`ModelSettings.``getAsProperties`()

  Gets the settings for this object as a Plain Old JavaScript Object (POJO).

  Return type: | ModelSettingsProperties

### setFromProperties

`ModelSettings.``setFromProperties`(props)

  Arguments: | props (`Partial`) – None

  Applies the settings in the given properties object to this scalar settings

  Return type: | void

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...