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.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public float scaledPixelsPerPoint { get; }