기술 자료

Unity Engine

Unity Engine

RealignVerticesInBounds(IList<Vector2>, Rect, bool)

Realigns the vertices (in-place) inside their axis-aligned bounding-box.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void RealignVerticesInBounds(IList<Vector2> vertices, Rect bounds, bool flip)

Parameters

The vertices to realign

bounds

The bounds into which the vertices will be realigned

flip

A boolean indicating whether to flip the coordinates on the Y axis