API

Interface ParseNodeParticleOptions

interface ParseNodeParticleOptions {
    emitter?: Vec3;
    emitterWorldMatrix?: Mat4;
    json?: string | object;
    snippetServer?: string;
    textureBaseUrl?: string;
}

Hierarchy (View Summary)

Index
emitter?: Vec3

Emitter world position (translation-only emitter). Ignored when BuildNodeParticleOptions.emitterWorldMatrix is set.

emitterWorldMatrix?: Mat4

Emitter world matrix (translation + rotation + scale). Takes precedence over BuildNodeParticleOptions.emitter.

json?: string | object

Inline graph JSON (string or parsed object); bypasses the network.

snippetServer?: string

Override the snippet server origin.

textureBaseUrl?: string

Base URL used to resolve relative texture URLs in the graph (mirrors BJS texture-base resolution).