babylon.quarks - v1.0.0
    Preparing search index...

    Interface TextureUV

    How a texture is laid over the particle: its UV channel, then tiling and offset as in Unity's material Tiling / Offset, then a scroll on the renderer's clock as Unreal's Panner. Sampled at uv(channel) * tiling + offset + scroll * time; the offset is used as given, so a clamped texture can be moved off its edge, and only the scroll's share is wrapped (over two repeats, so a mirrored texture stays seamless). A texture that scrolls or tiles should repeat.

    interface TextureUV {
        channel: UVChannel;
        offset: [number, number];
        scroll: [number, number];
        tiling: [number, number];
    }
    Index
    channel: UVChannel

    See UVChannel. Default 0.

    offset: [number, number]

    Added after tiling, in texture UV units. Default [0, 0].

    scroll: [number, number]

    UV units per second on the renderer's clock. Default [0, 0].

    tiling: [number, number]

    Repeats across the channel's 0…1, [u, v]. Default [1, 1].