scaledPixelsPerPoint
Return the resulting scaling from the panel that considers the screen DPI and the customizable scaling factor, but not the transform scale of the element and its ancestors. See scaledPixelsPerPoint. This should only be called on elements that are part of a panel.
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public float scaledPixelsPerPoint { get; }