Skip to main content

ParticleData

megane-viewer


megane-viewer / ParticleData

Interface: ParticleData

Defined in: pipeline/types.ts:35

Particle data flowing through the pipeline.

Properties

colorOverrides

colorOverrides: Float32Array<ArrayBufferLike> | null

Defined in: pipeline/types.ts:47

Per-atom RGB overrides in [0,1]. length === nAtoms * 3 (interleaved r,g,b). NaN in the r channel for an atom signals "no override; fall through to base". null = this stream carries no color overrides at all.


indices

indices: Uint32Array<ArrayBufferLike> | null

Defined in: pipeline/types.ts:39


opacityOverrides

opacityOverrides: Float32Array<ArrayBufferLike> | null

Defined in: pipeline/types.ts:41


representationOverride

representationOverride: RepresentationMode | null

Defined in: pipeline/types.ts:53

Per-stream representation override set by an upstream representation node. The viewport picks the first non-null override across its primary particle inputs (in stream order); null means "no opinion, use default".


scaleOverrides

scaleOverrides: Float32Array<ArrayBufferLike> | null

Defined in: pipeline/types.ts:40


source

source: Snapshot

Defined in: pipeline/types.ts:37


sourceNodeId

sourceNodeId: string

Defined in: pipeline/types.ts:38


type

type: "particle"

Defined in: pipeline/types.ts:36