ドキュメント

Unity Engine

Unity Engine

RealignVerticesInBounds(IList<Vector2>, Rect, bool)

Realigns the vertices (in-place) inside their axis-aligned bounding-box.
読み終わるまでの所要時間 1 分最終更新 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