ドキュメント

Unity Engine

Unity Engine

Fill

Fills the currently defined path.
読み終わるまでの所要時間 1 分最終更新 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.