Method RenderProximity
RenderProximity(Stroke, RenderTexture)
Renders normalized proximity: one on the path, decreasing linearly to zero at the brush radius.
public static void RenderProximity(Stroke stroke, RenderTexture targetRT)
Parameters
strokeStrokeFinalized stroke whose path and radius define the profile.
targetRTRenderTextureCaller-owned render texture that receives the profile.