This version of Unity is unsupported.

PaintContext.targetTextureWidth

public int targetTextureWidth;

Description

(Read Only) The width of the target terrain texture. This is the resolution for a single Terrain.