Search Unity

Feature Request Can the accessibility of VisualElement's scaledPixelsPerPoint be set to public?

Discussion in 'UI Toolkit' started by YuuHao, Aug 3, 2021.

  1. YuuHao

    YuuHao

    Joined:
    Apr 14, 2020
    Posts:
    48
    Can the accessibility of VisualElement's scaledPixelsPerPoint be set to public?
    When I customize VisualElement, I hope to use this property so that the coordinates can be aligned with the screen coordinates.
    Thanks for your attention!
     
    april_4_short likes this.
  2. AlexandreT-unity

    AlexandreT-unity

    Unity Technologies

    Joined:
    Feb 1, 2018
    Posts:
    377
    Thanks I'll ping the team about this.
     
    Enrico-Monese and YuuHao like this.
  3. YuuHao

    YuuHao

    Joined:
    Apr 14, 2020
    Posts:
    48
    Thanks for your reply.:p
     
  4. Enrico-Monese

    Enrico-Monese

    Joined:
    Dec 18, 2015
    Posts:
    77
    This would be very useful!
     
  5. SimonDufour

    SimonDufour

    Unity Technologies

    Joined:
    Jun 30, 2020
    Posts:
    575