FlattingRegion

new Cesium.FlattingRegion(options)

the flatting region
Name Type Description
options Object optional Object with the following properties:
Name Type Default Description
enabled Boolean true optional If true, flattingRegion will be enabled
positions Array.<Cartesian3> optional points of the flattingRegion
height Number 0.0 optional the altitude of flattingRegion
id String createGuid() optional a char used to be identified from other flattingRegions
error Number 0.0001 optional a flat vertex between error, use avoid duplicate faces

Members

a list cartesian3 points of the flatting region corner.
If true, flattingRegion will be enabled
the altitude of flattingRegion
the altitude of flattingRegion
a char used to be identified from other flattingRegions
a list cartesian3 points of the flatting region.

Methods

static Cesium.FlattingRegion.clone(region, result)FlattingRegion

Duplicates a FlattingRegion instance.
Name Type Description
region FlattingRegion The region to duplicate.
result FlattingRegion optional The object onto which to store the result.
Returns:
The modified result parameter or a new region instance if one was not provided.
Called when Viewer or CesiumWidget render the scene to build the resources for clipping planes.

Do not call this function directly.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.