기술 자료

Unity Engine

Unity Engine

Fill

Fills the currently defined path.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Fill(FillRule)

Fills the currently defined path.
public void Fill(FillRule fillRule = FillRule.NonZero)

Parameters

fillRule

The fill rule (non-zero or odd-even) to use. Default is non-zero.

Fill(FillRule, int)

Fills the currently defined path and tags every resulting DrawData with the given user identifier, surfaced on
DrawData.userData
in mesh modifiers.
public void Fill(FillRule fillRule, int userData)

Parameters

fillRule

The fill rule (non-zero or odd-even) to use.

userData

User-defined identifier propagated to every DrawData produced by this fill.