new EllipsoidGraphics(options)
Creates an ellipsoid or sphere class.
The position and orientation are defined by the Entity.
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object is an object that contains the following properties:
|
Members
-
readonly definitionChangedEvent
-
Get events. This event is thrown when the value of a property or sub property is modified, or when the definition is modified.
-
distanceDisplayConditionProperty
-
Get or set the DistanceDisplayCondition property to specify how far the ellipsoid is displayed from the camera.
-
fillProperty
-
Gets or sets the boolean property, specifying whether to fill the ellipsoid with the provided material.
- Default Value: true
heightReferenceProperty
Get or set the HeightReference property.
- Default Value: HeightReference.NONE
innerRadiiProperty
Get or set the Cartesian3 property to specify the inner radius of the ellipsoid.
- Default Value: radii
materialMaterialProperty
Get or set the MaterialProperty property to specify the material used to fill the ellipsoid.
- Default Value: Color.WHITE
maximumClockProperty
Get or set the number property to specify the maximum clock angle of the ellipsoid.
- Default Value: 2*PI
maximumConeProperty
Get or set the number property to specify the maximum cone angle of the ellipsoid.
- Default Value: PI
minimumClockProperty
Get or set the number property to specify the minimum clock angle of the ellipsoid.
- Default Value: 0.0
minimumConeProperty
Get or set the number property to specify the minimum cone angle of the ellipsoid.
- Default Value: 0.0
outlineProperty
Gets or sets the boolean property to specify whether to display the outline of an ellipsoid.
- Default Value: false
outlineColorProperty
Get or set the Color property to specify the color of the contour.
- Default Value: Color.BLACK
outlineWidthProperty
Get or set the number property to specify the contour width.
- Default Value: 1.0
radiiProperty
Get or set the Cartesian3 property to specify the radius of the ellipsoid.
shadowsProperty
Gets or sets enumeration properties to specify whether the ellipsoid casts or receives shadows from each light source.
- Default Value: ShadowMode.DISABLED
showProperty
Gets or sets the boolean property to specify the visibility of the ellipsoid.
- Default Value: true
slicePartitionsProperty
Get or set the number property to specify the number of radial slices.
- Default Value: 64
stackPartitionsProperty
Get or set the number property to specify the number of stacks.
- Default Value: 64
subdivisionsProperty
Get or set the number property, specify the number of samples for each contour ring, and determine the granularity of curvature.
- Default Value: 128
Methods
-
clone(result){CorridorGraphics}
-
Copy instance
Name Type Description resultCorridorGraphics optional The object that stores the copied results
Returns:
Type Description CorridorGraphics If input parameters are provided, return the modified input parameter object. If no input parameters are provided, return a new instance. -
merge(source)
-
Assign the attribute values corresponding to the source object to all unspecified attributes of this instance.
Name Type Description sourceCorridorGraphics An object that provides attribute values.