new Cesium.EllipsoidGraphics(options)

Describe an ellipsoid or sphere. The center position and orientation are determined by the containing Entity.
Name Type Description
options EllipsoidGraphics.ConstructorOptions optional 描述初始化选项的对象
Demo:

Members

readonly definitionChanged : Event

当财产或次级财产被改变或修改时,获取该事件.

distanceDisplayCondition : Property|undefined

Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this ellipsoid will be displayed.

fill : Property|undefined

获取或设置布尔属性,指定椭圆是否由所提供的材料填充.
Default Value: true

heightReference : Property|undefined

Gets or sets the Property specifying the HeightReference.
Default Value: HeightReference.NONE

innerRadii : Property|undefined

Gets or sets the Cartesian3 Property specifying the inner radii of the ellipsoid.
Default Value: radii

material : MaterialProperty

获取或设置属性,指定填充椭圆体所用的材料.
Default Value: Color.WHITE

maximumClock : Property|undefined

获取或设置指定椭圆最大时钟角的属性.
Default Value: 2*PI

maximumCone : Property|undefined

获取或设置指定椭圆形最大圆锥角的属性.
Default Value: PI

minimumClock : Property|undefined

获取或设置指定椭圆最小时钟角的属性.
Default Value: 0.0

minimumCone : Property|undefined

获取或设置指定椭圆形最小圆锥角的属性.
Default Value: 0.0

outline : Property|undefined

获取或设置属性,指定椭圆是否被列出.
Default Value: false

outlineColor : Property|undefined

获取或设置指定大纲的 Color 的属性 .
Default Value: Color.BLACK

outlineWidth : Property|undefined

获取或设置指定大纲宽度的数字属性.

Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40}.

Default Value: 1.0

radii : Property|undefined

Gets or sets the Cartesian3 Property specifying the radii of the ellipsoid.

shadows : Property|undefined

获取或设置指定椭圆属性 投影或接收来自光源的阴影.
Default Value: ShadowMode.DISABLED

show : Property|undefined

获取或设置指定椭圆可见度的布尔属性.
Default Value: true

slicePartitions : Property|undefined

获取或设置属性,指定每360度的射线切片数量.
Default Value: 64

stackPartitions : Property|undefined

获取或设置指定堆栈数的属性.
Default Value: 64

subdivisions : Property|undefined

获取或设置属性,指定每个轮廓环的样本数量,确定曲面的颗粒性.
Default Value: 128

Methods

clone(result)EllipsoidGraphics

重复这个例子.
Name Type Description
result EllipsoidGraphics optional 存储结果的对象 .
Returns:
未提供修改的结果参数或新实例 .

merge(source)

指定该对象上每个未指定属性的值 - 提供源对象上的同一财产.
Name Type Description
source EllipsoidGraphics 要合并成此天体的对象.

Type Definitions

Cesium.EllipsoidGraphics.ConstructorOptions

EllipsoidGraphics 构造器的初始化选项
Properties:
Name Type Attributes Default Description
show Property | boolean <optional>
real 一个布尔属性,指定椭圆的能见度.
radii Property | Cartesian3 <optional>
A Cartesian3 Property specifying the radii of the ellipsoid.
innerRadii Property | Cartesian3 <optional>
A Cartesian3 Property specifying the inner radii of the ellipsoid.
minimumClock Property | number <optional>
0.0 一个属性,指定椭圆的最小时钟角.
maximumClock Property | number <optional>
2*PI 一个属性,指定椭圆的最大时钟角.
minimumCone Property | number <optional>
0.0 指定椭圆形最小圆锥角的属性.
maximumCone Property | number <optional>
PI 一个属性指定椭圆形的最大圆锥角.
heightReference Property | HeightReference <optional>
HeightReference.NONE A Property specifying what the height from the entity position is relative to.
fill Property | boolean <optional>
true A boolean Property specifying whether the ellipsoid is filled with the provided material.
material MaterialProperty | Color <optional>
Color.WHITE A Property specifying the material used to fill the ellipsoid.
outline Property | boolean <optional>
false A boolean Property specifying whether the ellipsoid is outlined.
outlineColor Property | Color <optional>
Color.BLACK A Property specifying the Color of the outline.
outlineWidth Property | number <optional>
1.0 指定大纲宽度的数值属性.
stackPartitions Property | number <optional>
64 一个属性,指定堆栈的数量.
slicePartitions Property | number <optional>
64 一个属性,指定光圈切片的数量.
subdivisions Property | number <optional>
128 一个属性,指定每个轮廓环的样本数量,确定曲面的颗粒性.
shadows Property | ShadowMode <optional>
ShadowMode.DISABLED An enum Property specifying whether the ellipsoid casts or receives shadows from light sources.
distanceDisplayCondition Property | DistanceDisplayCondition <optional>
指定此椭圆将显示在相机的距离的属性 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.