API

Class FluidRenderingObjectCustomParticles

Defines a rendering object based on a list of custom buffers The list must contain at least a "position" buffer!

Hierarchy (View Summary)

Index
onParticleSizeChanged: any = ...

Observable triggered when the size of the particle is changed

particleThicknessAlpha: number = 0.05

Defines the alpha value of a particle

priority: number = 0

Defines the priority of the object. Objects will be rendered in ascending order of priority

UsePerParticleSizeAttribute: boolean = false

Uses each particle's own "size" vertex attribute instead of a single uniform size for all particles (default: false, opt-in).