# ParticleModelProperties

class `cee.pt.``ParticleModelProperties`()

  Configuration options for ParticleModel.

Properties

- `debugLogging`
- `decimationFactor`
- `maxCacheMemoryMB`
- `onMetrics`
- `opacity`
- `particleColor`
- `particleSize`
- `preloadFrameCount`
- `scalarMapper`
- `useScalarMapping`

## Properties

`ParticleModelProperties.``debugLogging`

  Type: | boolean optional

  Enable console logging of metrics.

  Default: |

`ParticleModelProperties.``decimationFactor`

  Type: | number optional

  Server-side decimation factor in [0.01, 1.0].

  Default: |

`ParticleModelProperties.``maxCacheMemoryMB`

  Type: | number optional

  Max decoded-frame cache size in MB. LRU eviction when exceeded.

  Default: |

`ParticleModelProperties.``onMetrics`

  Type: | function optional

  Callback for per-frame performance metrics.

  `ParticleModelProperties.``onMetrics`(metrics)

    Arguments: | metrics (`FrameMetrics`) – None
    Return type: | void

`ParticleModelProperties.``opacity`

  Type: | number optional

  Opacity of the particles. 0 = fully transparent, 1 = fully opaque.

  Default: |

`ParticleModelProperties.``particleColor`

  Type: | Color3 optional

  Solid color when useScalarMapping is false.

  Default: |

`ParticleModelProperties.``particleSize`

  Type: | number optional

  Point size for GL_POINTS rendering.

  Default: |

`ParticleModelProperties.``preloadFrameCount`

  Type: | number optional

  Frames to preload ahead of the current frame. 0 disables preloading.

  Default: |

`ParticleModelProperties.``scalarMapper`

  Type: | ScalarMapper optional

  Scalar mapper for color mapping.

`ParticleModelProperties.``useScalarMapping`

  Type: | boolean optional

  Whether to use scalar mapping for colors.

  Default: |

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