TerrainPaintToolWithOverlaysBase.OnPaint

Declaration

public bool OnPaint(Terrain terrain, TerrainTools.IOnPaint editContext);

Parameters

terrain Active Terrain object.
editContext Interface used to communicate between Editor and Paint tools.

Returns

bool Return true to temporarily hide tree, grass, and detail layers on the terrain.

Description

Custom Terrain Tool paint callback.


Did you find this page useful? Please give it a rating: