API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceParticleVectorChannel

@codexo/exojs-particles / particles / stable

A two-component particle channel, one array per component. The arrays are the simulation's own storage rather than a copy: writing `position.x[i]` moves particle `i`. Their length is the system's capacity, so only indices below ParticleBatch.count carry meaning.

2
props
0
methods
0
events
Import
import { ParticleVectorChannel } from '@codexo/exojs-particles'

A two-component particle channel, one array per component.

The arrays are the simulation's own storage rather than a copy: writing `position.x[i]` moves particle `i`. Their length is the system's capacity, so only indices below ParticleBatch.count carry meaning.

Properties2
x: Float32Array
y: Float32Array
Source