椭圆形的
GeometryUpdater .
客户端通常不直接创建此类,而是依赖 DataSourceDisplay .
| Name | Type | Description |
|---|---|---|
entity |
Entity | 包含可视化几何的实体. |
scene |
Scene | 出现视觉的场景. |
Methods
createFillGeometryInstance(time, skipModelMatrix, modelMatrixResult) → GeometryInstance
创建代表几何填充的几何实例.
| Name | Type | Default | Description |
|---|---|---|---|
time |
JulianDate | 检索初始属性值时使用的时间 . | |
skipModelMatrix |
boolean |
false
|
optional Whether to compute a model matrix for the geometry instance |
modelMatrixResult |
Matrix4 | optional 用于存储模型矩阵计算结果 |
Returns:
代表几何中填充部分的几何实例.
Throws:
-
DeveloperError : This instance does not represent a filled geometry.
createOutlineGeometryInstance(time, skipModelMatrix, modelMatrixResult) → GeometryInstance
创建几何实例,代表几何的轮廓.
| Name | Type | Default | Description |
|---|---|---|---|
time |
JulianDate | 检索初始属性值时使用的时间 . | |
skipModelMatrix |
boolean |
false
|
optional Whether to compute a model matrix for the geometry instance |
modelMatrixResult |
Matrix4 | optional 用于存储模型矩阵计算结果 |
Returns:
代表几何的大纲部分的几何实例.
Throws:
-
DeveloperError : This instance does not represent an outlined geometry.