Hilo3d API - v2.0.0-alpha.4
    Preparing search index...

    Interface ParticleMeshCacheOptions

    Options for deterministic CPU particle instance-stream baking.

    interface ParticleMeshCacheOptions {
        duration: number;
        emitter?: string;
        frameRate: number;
        includeEnd?: boolean;
        maxFrames?: number;
        maxSampledParticles?: number;
        startTime?: number;
    }

    Hierarchy (View Summary)

    Index
    duration: number

    Sampled duration in seconds.

    emitter?: string

    Optional named emitter. Omit to bake every emitter containing a mesh renderer.

    frameRate: number

    Samples per second.

    includeEnd?: boolean

    Add one exact sample at startTime + duration. Defaults to false.

    maxFrames?: number

    Safety limit for generated frames. Defaults to 4096.

    maxSampledParticles?: number

    Safety limit across all materialized emitter/frame particle records. Defaults to 1048576.

    startTime?: number

    Seconds simulated before the first captured frame. Defaults to zero.