Documentation

Unity Engine

Unity Engine

Update(Texture2D, int, bool)

Updates the DetailBrushRepresentation's data.
Read time 1 minuteLast updated a month ago

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.