# AbstractSolidGenerator

class `cee.utils.``AbstractSolidGenerator`()

Constructors

- `constructor`

Properties

- `m_indices`
- `m_vertices`

Methods

- `fillVerticesIndices`
- `generate`
- `getIndices`
- `getVertices`
- `getVerticesNumber`

## Constructors

`AbstractSolidGenerator.``constructor`()

  Return type: | AbstractSolidGenerator

## Properties

`AbstractSolidGenerator.``m_indices`

  Type: | [number]

`AbstractSolidGenerator.``m_vertices`

  Type: | [Vec3]

## Methods

### fillVerticesIndices

`AbstractSolidGenerator.``fillVerticesIndices`(vertices, indices)

  Arguments: | vertices (`Float32Array`) – The vertices in the format x,y,z,x,y,z,… indices (`[number]`) – The indices for the vertices

  Fills the members `m_vertices` and `m_indices` of this class.

  Return type: | void

### generate

`AbstractSolidGenerator.``generate`()

  The generate method generates the object by filling `m_vertices` and `m_indices`.

  Return type: | void

### getIndices

`AbstractSolidGenerator.``getIndices`()

  Get the indices of triangles needed to render the solid object

  Return type: | [number]

### getVertices

`AbstractSolidGenerator.``getVertices`()

  Get the vertices of the solid object as Vec3

  Return type: | [Vec3]

### getVerticesNumber

`AbstractSolidGenerator.``getVerticesNumber`()

  Get the vertices of the solid object as a number array with <x,y,z,x,y,z,…>

  Return type: | [number]

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Web in your own language, 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...