API

Function setBillboardShaderParams

  • Set the custom-shader fx.params vec4 for a billboard system created with a customShader. No-op effect on systems without one (the value is simply stored). Read in WGSL as fx.params.

    Parameters

    • system: BillboardSpriteSystem
    • params: readonly [number, number, number, number]

    Returns void