ドキュメント

Unity Engine

Unity Engine

Update(Texture2D, int, bool)

Updates the DetailBrushRepresentation's data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void Update(Texture2D brushTex, int size, bool forceUpdate = false)

Parameters

brushTex

The brush mask.

size

The size of the brush.

forceUpdate

When the value is true, Unity forces the DetailBrushRepresentation to always update. Otherwise, Unity updates the DetailBrushRepresentation only when the brush mask's texture or size changes.