Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Update(Texture2D, int, bool)

Updates the DetailBrushRepresentation's data.
Read time 1 minuteLast updated 10 days 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.