FanOutlineGeometry

SWVL new Cesium.FanOutlineGeometry(options)

Describes the outline of a FanGeometry.
Name Type Description
options Object An object with the following properties:
Name Type Default Description
directions Array.<Spherical> The directions, pointing outward from the origin, that defined the fan.
radius Number optional The radius at which to draw the fan.
perDirectionRadius Boolean optional When set to true, the magnitude of each direction is used in place of a constant radius.
numberOfRings Number 6 optional The number of outline rings to draw, starting from the outer edge and equidistantly spaced towards the center.
vertexFormat VertexFormat VertexFormat.DEFAULT optional The vertex attributes to be computed.

Methods

static Cesium.FanOutlineGeometry.createGeometry(fanGeometry)Geometry|undefined

Computes the geometric representation of a fan outline, including its vertices, indices, and a bounding sphere.
Name Type Description
fanGeometry FanOutlineGeometry A description of the fan.
Returns:
The computed vertices and indices.