Maximum number of vertices per polygon.
RGB or RGBA color, or an index into graphics/rendering/settings/runtime-settings!RuntimeSettings.colorPalette.
A class with constructor new NoisyPolygon(vertices: Array<vec2>).
vertices contains between one and vertexCount positions in world coordinates,
ordered around the polygon's outline. Instances also have a randomOffset property
(default 0) for varying the sampled noise.
Pass the class's static descriptor to compile!compile, then pass instances to
graphics/rendering/renderer/renderer!Renderer.addDrawable.
Creates a drawable polygon class with a noisy outline and a shared color.
Providing a
noiseTexturein graphics/rendering/settings/runtime-settings!RuntimeSettings.textures is required for this drawable. A noise texture can be generated with graphics/rendering/renderer/noise-renderer!renderNoise.