文档

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.