This version of Unity is unsupported.

PaintContext.targetTextureHeight

public int targetTextureHeight;

Description

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