AlignmentUtils
Static class containing utility methods for aligning visual elements.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static class AlignmentUtils
Static Methods
Method | Description |
|---|---|
| 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. |