Describes a corridor, which is a shape defined by a centerline and width that
conforms to the curvature of the globe. It can be placed on the surface or at altitude
and can optionally be extruded into a volume.
alias CorridorGraphics
- The options object takes the following properties
- {Property} [options.positions] A Property specifying the array of Cartesian3 positions that define the centerline of the corridor.
- {Property} [options.width] A numeric Property specifying the distance between the edges of the corridor.
- {Property} [options.cornerType=CornerType.ROUNDED] A CornerType Property specifying the style of the corners.
- {Property} [options.height=0] A numeric Property specifying the altitude of the corridor relative to the ellipsoid surface.
- {Property} [options.extrudedHeight] A numeric Property specifying the altitude of the corridor's extruded face relative to the ellipsoid surface.
- {Property} [options.show=true] A boolean Property specifying the visibility of the corridor.
- {Property} [options.fill=true] A boolean Property specifying whether the corridor is filled with the provided material.
- {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the corridor.
- {Property} [options.outline=false] A boolean Property specifying whether the corridor is outlined.
- {Property} [options.outlineColor=Color.BLACK] A Property specifying the Color of the outline.
- {Property} [options.outlineWidth=1.0] A numeric Property specifying the width of the outline.
- {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the distance between each latitude and longitude.
Describes a corridor, which is a shape defined by a centerline and width that conforms to the curvature of the globe. It can be placed on the surface or at altitude and can optionally be extruded into a volume.
alias CorridorGraphics
- The options object takes the following properties - {Property} [options.positions] A Property specifying the array of Cartesian3 positions that define the centerline of the corridor. - {Property} [options.width] A numeric Property specifying the distance between the edges of the corridor. - {Property} [options.cornerType=CornerType.ROUNDED] A CornerType Property specifying the style of the corners. - {Property} [options.height=0] A numeric Property specifying the altitude of the corridor relative to the ellipsoid surface. - {Property} [options.extrudedHeight] A numeric Property specifying the altitude of the corridor's extruded face relative to the ellipsoid surface. - {Property} [options.show=true] A boolean Property specifying the visibility of the corridor. - {Property} [options.fill=true] A boolean Property specifying whether the corridor is filled with the provided material. - {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the corridor. - {Property} [options.outline=false] A boolean Property specifying whether the corridor is outlined. - {Property} [options.outlineColor=Color.BLACK] A Property specifying the Color of the outline. - {Property} [options.outlineWidth=1.0] A numeric Property specifying the width of the outline. - {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the distance between each latitude and longitude.
Entity demo Sandcastle Corridor Demo