CanvasTexture

The CanvasTexture class enables painting with a brush to a texture.

Properties

This module exposes no properties.

Methods

MethodDescription

addPath

addPath(startProgress: ScalarSignal, endProgress: ScalarSignal, xSampler: ScalarSampler, ySampler: ScalarSampler, widthSampler: ScalarSampler, colorSampler: ColorSampler): void

Adds a path based on the specified samplers.

clearPaths

clearPaths(): void

Deletes all paths.