Header menu logo Nu

FluidEmitterDispatcherExtensions Module

Type extensions

Type extension Description

this.FluidParticleCellColor

Full Usage: this.FluidParticleCellColor

Parameters:
    () : unit

Returns: Lens<Color option, Entity>

Extended Type: Entity

() : unit
Returns: Lens<Color option, Entity>

this.FluidParticleCellColor

Full Usage: this.FluidParticleCellColor

Returns: Lens<Color option, Entity>

Extended Type: Entity

Returns: Lens<Color option, Entity>

this.FluidParticleImageSizeOverride

Full Usage: this.FluidParticleImageSizeOverride

Parameters:
    () : unit

Returns: Lens<Vector2 option, Entity>

Extended Type: Entity

() : unit
Returns: Lens<Vector2 option, Entity>

this.FluidParticleImageSizeOverride

Full Usage: this.FluidParticleImageSizeOverride

Returns: Lens<Vector2 option, Entity>

Extended Type: Entity

Returns: Lens<Vector2 option, Entity>

this.GetFluidParticleCellColor

Full Usage: this.GetFluidParticleCellColor

Parameters:
Returns: Color option

When set to a color, the simulation will render the spatial grid cells for debugging or visualization.

Extended Type: Entity

world : World
Returns: Color option

this.GetFluidParticleImageSizeOverride

Full Usage: this.GetFluidParticleImageSizeOverride

Parameters:
Returns: Vector2 option

The size of the particle image - when None, uses Entity.FluidParticleRadius * Entity.FluidSimulationMeter.

Extended Type: Entity

world : World
Returns: Vector2 option

this.SetFluidParticleCellColor

Full Usage: this.SetFluidParticleCellColor

Parameters:

Extended Type: Entity

value : Color option
world : World

this.SetFluidParticleImageSizeOverride

Full Usage: this.SetFluidParticleImageSizeOverride

Parameters:

Extended Type: Entity

value : Vector2 option
world : World

Type something to start searching.