Version: 1.4
LanguageEnglish
  • C#

DetailBrushRepresentation.Update

Declaration

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

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.

Description

Updates the DetailBrushRepresentation's data.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答