When creating a new PixelatedPoints3D object, any amount of its default parameters can be overriden, by supplying the values to its constructor:
new PointStyle3D.Pixelated({
size: 4,
fillStyle: new SolidFill({ color: ColorHex('#FFF') }),
})
Optional
props: Partial<PixelatedPoints3DProperties>Optional object containing any amount of parameters of PixelatedPoints3D
Readonly
fillFillStyle for rendering the points.
Readonly
sizeSize of the rendered points in pixels.
Some devices / browser configurations always render with 1 pixel, regardless of this setting.
Construct a new PixelatedPoints3D object based on this one, but with modified fill style.
Example usage:
Desired result | Argument |
---|---|
Specified SolidFill | new SolidFill({ color: ColorHex('#F00') }) |
New PixelatedPoints3D object
Either a FillStyle object or a function, which will be used to create a new FillStyle based on current value.
Construct a new PixelatedPoints3D object based on this one, but with different size.
New PixelatedPoints3D object
Size of the rendered points in pixels.
A style class used to specify style of 3D points rendering as pixelated squares.
This rendering style is optimal for rendering large numbers of points that do not require great individual detail.