AlignmentUtils

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Static class containing utility methods for aligning visual elements.

Static Methods

CeilToPanelPixelSize Return the next larger value representing a whole number of pixels on the target when rendered.
FloorToPanelPixelSize Return the next smaller value representing a whole number of pixels on the target when rendered.
RoundToPanelPixelSize Round the value so that it is a whole number of pixels on the target when rendered.

Did you find this page useful? Please give it a rating: