描述一個橢球體或球體。中心位置和方向由包含的
new EllipsoidGraphics(options)
Entity
決定。
Parameters:
options
(Object)
Name | Description |
---|---|
options.show
Property
default true
|
指定橢球可見性的布爾屬性。 |
options.radii
Property
|
aCartesian3 屬性,指定橢圓體的半徑。
|
options.innerRadii
Property
|
aCartesian3 屬性,指定橢球體的內半徑。
|
options.minimumClock
Property
default 0.0
|
指定橢球最小時鐘角度的屬性。 |
options.maximumClock
Property
default 2*PI
|
指定橢球體的最大時鐘角度的屬性。 |
options.minimumCone
Property
default 0.0
|
指定橢球體的最小錐角的屬性。 |
options.maximumCone
Property
default PI
|
指定橢圓體的最大錐角的屬性。 |
options.heightReference
Property
default HeightReference.NONE
|
指定實體位置的高度相對于的屬性。 |
options.fill
Property
default true
|
一個布爾屬性,指定橢圓體是否用提供的材質填充。 |
options.material
MaterialProperty
default Color.WHITE
|
指定用于填充橢球體的材質的屬性。 |
options.outline
Property
default false
|
一個布爾屬性,指定是否概述橢球體。 |
options.outlineColor
Property
default Color.BLACK
|
指定大綱的Color 的屬性。
|
options.outlineWidth
Property
default 1.0
|
指定輪廓寬度的數值屬性。 |
options.stackPartitions
Property
default 64
|
指定堆棧數的屬性。 |
options.slicePartitions
Property
default 64
|
指定徑向切片數的屬性。 |
options.subdivisions
Property
default 128
|
一個屬性,指定每個輪廓環的樣本數,確定曲率的粒度。 |
options.shadows
Property
default ShadowMode.DISABLED
|
一個枚舉屬性,指定橢球體是從每個光源投射還是接收陰影。 |
options.distanceDisplayCondition
Property
|
一個屬性,指定該橢球將顯示在與相機的距離上。 |
Members
(readonly) definitionChanged : Event
獲取每當屬性或子屬性更改或修改時引發的事件。
distanceDisplayCondition : Property
獲取或設置
DistanceDisplayCondition
屬性,該屬性指定此橢球將顯示在距相機的距離。
fill : Property
獲取或設置用于指定橢圓體是否填充所提供的材料的布爾屬性。
-
Default Value:
true
heightReference : Property
獲取或設置指定
HeightReference
的屬性。
-
Default Value:
HeightReference.NONE
innerRadii : Property
獲取或設置
Cartesian3
Property
指定橢圓體的內半徑。
-
Default Value:
radii
material : MaterialProperty
獲取或設置指定用于填充橢球體的材質的屬性。
-
Default Value:
Color.WHITE
maximumClock : Property
獲取或設置指定橢圓體的最大時鐘角度的屬性。
-
Default Value:
2*PI
maximumCone : Property
獲取或設置指定橢圓體的最大錐角的屬性。
-
Default Value:
PI
minimumClock : Property
獲取或設置指定橢球最小時鐘角度的屬性。
-
Default Value:
0.0
minimumCone : Property
獲取或設置指定橢球最小錐角的屬性。
-
Default Value:
0.0
outline : Property
獲取或設置指定是否對橢球體進行輪廓顯示的屬性。
-
Default Value:
false
outlineColor : Property
獲取或設置指定大綱的
Color
的屬性。
-
Default Value:
Color.BLACK
outlineWidth : Property
獲取或設置指定大綱寬度的數值屬性。
-
Default Value:
1.0
radii : Property
獲取或設置
Cartesian3
Property
指定橢球半徑。
shadows : Property
獲取或設置枚舉屬性,指定橢圓體是從每個光源投射還是接收陰影。
-
Default Value:
ShadowMode.DISABLED
show : Property
獲取或設置用于指定橢球可見性的布爾屬性。
-
Default Value:
true
slicePartitions : Property
獲取或設置指定每360度徑向切片數的屬性。
-
Default Value:
64
stackPartitions : Property
獲取或設置指定堆棧數的屬性。
-
Default Value:
64
subdivisions : Property
獲取或設置屬性,該屬性指定每個大綱環的樣本數,以確定曲率的粒度。
-
Default Value:
128
Methods
clone(result) → {EllipsoidGraphics}
復制此實例。
Parameters:
將此對象上的每個未分配屬性分配給所提供源對象上相同屬性的值。