Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Can 'inline' SVG be used in UXML? And if so what are the limitations?

Discussion in 'UI Toolkit' started by TameAim2, May 10, 2023.

  1. TameAim2

    TameAim2

    Joined:
    Jul 26, 2022
    Posts:
    4
    I've searched and found numerous posts about importing SVG files. But my question is, can SVG be used inline in UXML (or any in any other way), i.e. so that an SVG graphic could be created and modified in game.

    If so are there any limitations when compared to the full inline SVG that might be found in HTML (i.e. do animations and filters work too)?
     
  2. TameAim2

    TameAim2

    Joined:
    Jul 26, 2022
    Posts:
    4
  3. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    732
    No that is not supported today.