When creating a new TriangulatedPoints3D object, any amount of its default parameters can be overriden, by supplying the values to its constructor:
new PointStyle3D.Triangulated({
size: 10,
fillStyle: new SolidFill({ color: ColorHex('#FFF') }),
})
Optional
props: Partial<TriangulatedPoints3DProperties>Optional object containing any amount of parameters of TriangulatedPoints3D
Readonly
fillFillStyle for rendering the points.
Readonly
shapeShape of rendered points.
Readonly
sizePoints size.
Supports two types number
or Coord3D
:
number
:
Symmetric size as normalized World Units (roughly equal to pixels).
User supplies size on each Axis, X, Y and Z individually, as Axis coordinates.
// Example syntax, 3D point size in Axis dimensions.
pointSeries3D.setPointStyle(new TriangulatedPoints3D({
size: { x: 10, y: 5, z: 200 },
shape: 'sphere',
fillStyle: new SolidFill({ color: ColorRGBA(255, 0, 0) })
}))
Readonly
wireframeLineStyle for rendering geometry wireframe.
Construct a new TriangulatedPoints3D object based on this one, but with modified fill style.
Example usage:
Desired result | Argument |
---|---|
Specified FillStyle | new SolidFill({ color: ColorHex('#F00') }) |
New TriangulatedPoints3D object
Either a FillStyle object or a function, which will be used to create a new FillStyle based on current value.
Construct a new TriangulatedPoints3D object based on this one, but with different size.
Two size definitions are supported: number
and Coord3D
:
number
:
Symmetric size as normalized World Units (roughly equal to pixels).
User supplies size on each Axis, X, Y and Z individually, as Axis coordinates.
// Example syntax, 3D point size in Axis dimensions.
pointSeries3D.setPointStyle(new TriangulatedPoints3D({
size: { x: 10, y: 5, z: 200 },
shape: 'sphere',
fillStyle: new SolidFill({ color: ColorRGBA(255, 0, 0) })
}))
New TriangulatedPoints3D object
Points size.
Construct a new TriangulatedPoints3D object based on this one, but with modified wireframe style.
// Example syntax,
pointSeries3D.setPointStyle((style) => style
.setWireframeStyle(new SolidLine({
thickness: 1,
fillStyle: new SolidFill({ color: ColorRGBA(255, 215, 0, 25) })
}))
)
New TriangulatedPoints3D object
Either a LineStyle object or a function, which will be used to create a new LineStyle based on current value.
A style class used to specify style of 3D points rendering as triangulated shapes.
Supports specifying shape as a cube or a sphere.