Method RenderSegment
RenderSegment(RenderTexture, Bounds, BrushTip, Vector3, Vector3)
Adds one capsule-shaped segment to an existing mask without clearing its current content.
public static void RenderSegment(RenderTexture targetRT, Bounds worldBounds, BrushTip brushTip, Vector3 segmentStartWS, Vector3 segmentEndWS)
Parameters
targetRTRenderTextureCaller-owned render texture that receives the segment.
worldBoundsBoundsWorld-space XZ region represented by the complete target texture.
brushTipBrushTipBrush-tip shape used to render the segment.
segmentStartWSVector3World-space start of the segment.
segmentEndWSVector3World-space end of the segment.