Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function readSceneFormatVersion

    • Return a scene root's version string, or null when it carries none.

      format_version (scene 0.2+) wins; the 0.1 legacy key LEGACY_SCENE_VERSION_ATTR is the fallback. Numbers are coerced to string so a numeric 0.2 still compares against the allowlist.

      Parameters

      • attrs: Readonly<Record<string, unknown>>

      Returns string | null