기술 자료

Unity Engine

Unity Engine

AlignmentUtils

Static class containing utility methods for aligning visual elements.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static class AlignmentUtils

Static Methods

Method

Description

CeilToPanelPixelSizeReturn the next larger value representing a whole number of pixels on the target when rendered.
FloorToPanelPixelSizeReturn the next smaller value representing a whole number of pixels on the target when rendered.
RoundToPanelPixelSizeRound the value so that it is a whole number of pixels on the target when rendered.