CanvasTexture
The
CanvasTexture
class enables painting with a brush to a texture.This module exposes no properties.
Method | Description |
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. |
Find inspiration, see examples, get support, and share your work with a network of creators.
Find inspiration, see examples, get support, and share your work with a network of creators.
Have a specific question? Maybe it's been answered.
Last modified 3yr ago