Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Resolve the colour source a config selects, refusing to guess when it asks for two.

      A texture WINS over a colormap, and the tie has to be broken somewhere rather than left to define ordering. Texture wins because it is the more specific declaration: a colormap can be switched on at runtime by the layers panel for any node with scalars, while a texture only exists if the store carried an image and its UVs, which the writer already refused to pair with a colormap.

      Parameters

      • config: { colormapTexture?: unknown; baseColorTexture?: unknown }

      Returns MeshColorSource