Skip to content

Commit

Permalink
any
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghuang-liu committed Sep 21, 2022
1 parent 2f29591 commit 87f5afc
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 38 deletions.
16 changes: 8 additions & 8 deletions website/docs/en-US/primitives/vc-primitive-particle.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,22 +221,22 @@ Basic usage of VcPrimitiveParticle component.
| ---- | ---- | ------- | ----------- |
| show | boolean | true | `optional`Whether to display the particle system. |
| updateCallback | Function | | `optional` The callback function to be called each frame to update a particle.|
| emitter | Object | | `optional` The particle emitter for this system. |
| emitter | Cesium.ParticleEmitter | | `optional` The particle emitter for this system. |
| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms the particle system from model to world coordinates. |
| emitterModelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms the particle system emitter within the particle systems local coordinate system. |
| emitterModelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms the particle system emitter within the particle systems local coordinate system. |
| emissionRate | number | `5` | `optional` The number of particles to emit per second. |
| bursts | Array | `false` | `optional` An array of [ParticleBurst](https://cesium.com/docs/cesiumjs-ref-doc/ParticleBurst.html), emitting bursts of particles at periodic times.|
| loop | boolean | `true` | `optional` Whether the particle system should loop its bursts when it is complete. |
| scale | number | `1.0` | `optional` Sets the scale to apply to the image of the particle for the duration of its particleLife. |
| startScale | number | | `optional` The final scale to apply to the image of the particle at the end of its life. |
| endScale | number | | `optional` Sets the color of a particle for the duration of its particleLife. |
| color | VcColor\|Array\|string | | `optional` Sets the color of a particle for the duration of its particleLife. |
| startColor | Object\|Array\|string | | `optional` The color of the particle at the beginning of its life. |
| endColor | Object\|Array\|string | | `optional` The color of the particle at the end of its life.|
| image | Object\|string | | `optional` The URI, HTMLImageElement, or HTMLCanvasElement to use for the billboard. |
| imageSize | Object | | `optional` If set, overrides the minimumImageSize and maximumImageSize inputs that scale the particle image's dimensions in pixels. |
| minimumImageSize | Object | | `optional` Sets the minimum bound, width by height, above which to randomly scale the particle image's dimensions in pixels. |
| maximumImageSize | Object | | `optional` Sets the maximum bound, width by height, below which to randomly scale the particle image's dimensions in pixels. |
| startColor | VcColor\|Array\|string | | `optional` The color of the particle at the beginning of its life. |
| endColor| VcColor\|Array\|string | | `optional` The color of the particle at the end of its life.|
| image | HTMLImageElement \| HTMLCanvasElement\|string | | `optional` The URI, HTMLImageElement, or HTMLCanvasElement to use for the billboard. |
| imageSize | VcCartesian2 | | `optional` If set, overrides the minimumImageSize and maximumImageSize inputs that scale the particle image's dimensions in pixels. |
| minimumImageSize | VcCartesian2 | | `optional` Sets the minimum bound, width by height, above which to randomly scale the particle image's dimensions in pixels. |
| maximumImageSize| VcCartesian2 | | `optional` Sets the maximum bound, width by height, below which to randomly scale the particle image's dimensions in pixels. |
| speed | number | `1.0` | `optional` If set, overrides the minimumSpeed and maximumSpeed inputs with this value. |
| minimumSpeed | number | | `optional` Sets the minimum bound in meters per second above which a particle's actual speed will be randomly chosen.|
| maximumSpeed | number | | `optional` Sets the maximum bound in meters per second below which a particle's actual speed will be randomly chosen. |
Expand Down
4 changes: 2 additions & 2 deletions website/docs/en-US/primitives/vc-primitive-tileset.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ Basic usage of VcPrimitiveTileset component.
| skipLevels | number | 1 | `optional` When skipLevelOfDetail is true, a constant defining the minimum number of levels to skip when loading tiles. When it is 0, no levels are skipped. Used in conjunction with skipScreenSpaceErrorFactor to determine which tiles to load. |
| immediatelyLoadDesiredLevelOfDetail | boolean | false | `optional` When skipLevelOfDetail is true, only tiles that meet the maximum screen space error will ever be downloaded. Skipping factors are ignored and just the desired tiles are loaded.|
| loadSiblings | boolean | false | `optional` When skipLevelOfDetail is true, determines whether siblings of visible tiles are always downloaded during traversal. |
| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction<Cesium.ClippingPlaneCollection> | | `optional` The ClippingPlaneCollection used to selectively disable rendering the tileset. |
| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\<Cesium.ClippingPlaneCollection\> | | `optional` The ClippingPlaneCollection used to selectively disable rendering the tileset. |
| classificationType | number | | `optional` Determines whether terrain, 3D Tiles or both will be classified by this tileset. See Cesium3DTileset#classificationType for details about restrictions and limitations. **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2** |0/1/2|
| ellipsoid | Cesium.Ellipsoid | Ellipsoid.WGS84 | `optional` The ellipsoid determining the size and shape of the globe. |
| pointCloudShading | Object | | `optional` Options for constructing a PointCloudShading object to control point attenuation based on geometric error and lighting. |
| pointCloudShading | Cesium.PointCloudShading | | `optional` Options for constructing a PointCloudShading object to control point attenuation based on geometric error and lighting. |
| imageBasedLightingFactor | VcCartesian2\|Array | `[1.0, 1.0]` | `optional` Scales the diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox. |
| lightColor | VcColor\|Array | | `optional` The light color when shading models. When undefined the scene's light color is used instead. |
| luminanceAtZenith | number | `0.2` | `optional` The sun's luminance at the zenith in kilo candela per meter squared to use for this model's procedural environment map. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/primitives/vc-primitive.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Basic usage of VcPrimitive component.
| ---- | ---- | ------- | ----------- | --------------- |
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` The geometry instances - or a single geometry instance - to render. |
| appearance | VcAppearance | | `optional` The appearance used to render the primitive. |
| depthFailAppearance | Object | | `optional` The appearance used to shade this primitive when it fails the depth test. |
| depthFailAppearance | VcAppearance | | `optional` The appearance used to shade this primitive when it fails the depth test. |
| show | boolean | `true` | `optional` Determines if this primitive will be shown. |
| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates. |
| vertexCacheOptimize | boolean | `false` | `optional` When true, geometry vertices are optimized for the pre and post-vertex-shader caches. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/providers/vc-imagery-provider-tms.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Basic usage of the `vc-imagery-provider-tms` component.
| minimumLevel | number | `0` | `optional` The minimum level-of-detail supported by the imagery provider. Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems. |
| rectangle | VcRectangle\|Array | | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. |
| maximumLevel | number | | `optional` The rectangle, in radians, covered by the image. |
| tilingScheme | Object | | `optional` The tiling scheme specifying how the ellipsoidal surface is broken into tiles. If this parameter is not provided, a WebMercatorTilingScheme is used. |
| tilingScheme | Cesium.GeographicTilingScheme \| Cesium.WebMercatorTilingScheme | | `optional` The tiling scheme specifying how the ellipsoidal surface is broken into tiles. If this parameter is not provided, a WebMercatorTilingScheme is used. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid. If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. |
| tileWidth | number | `256` | `optional` Pixel width of image tiles. |
| tileHeight | number | `256` | `optional` Pixel height of image tiles.|
Expand Down
10 changes: 5 additions & 5 deletions website/docs/en-US/providers/vc-imagery-provider-wms.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ Basic usage of the `vc-imagery-provider-wms` component.
| ---- | ---- | ------- | ----------- |
| url | string\|Object | | `required` The URL of the WMS service. The URL supports the same keywords as the UrlTemplateImageryProvider. |
| layers | string | | `required` The layers to include, separated by commas. |
| parameters | Object | | `optional` Additional parameters to pass to the WMS server in the GetMap URL. |
| getFeatureInfoParameters | Object | | `optional` Additional parameters to pass to the WMS server in the GetFeatureInfo URL. |
| parameters | any | | `optional` Additional parameters to pass to the WMS server in the GetMap URL. |
| getFeatureInfoParameters | any | | `optional` Additional parameters to pass to the WMS server in the GetFeatureInfo URL. |
| enablePickFeatures | boolean | `true` | `optional` If true, WebMapServiceImageryProvider#pickFeatures will invoke the GetFeatureInfo operation on the WMS server and return the features included in the response. If false, WebMapServiceImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your WMS server does not support GetFeatureInfo or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the WebMapServiceImageryProvider#enablePickFeatures property. |
| getFeatureInfoFormats | Array | | `optional` The formats in which to try WMS GetFeatureInfo requests. |
| rectangle | VcRectangle\|Array | | `optional` The rectangle of the layer. |
| tilingScheme | Object | | `optional` The tiling scheme to use to divide the world into tiles. |
| tilingScheme | Cesium.GeographicTilingScheme \| Cesium.WebMercatorTilingScheme | | `optional` The tiling scheme to use to divide the world into tiles. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid. If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. |
| tileWidth | number | `256` | `optional` The width of each tile in pixels. |
| tileHeight | number | `256` | `optional` The height of each tile in pixels. |
Expand All @@ -108,8 +108,8 @@ Basic usage of the `vc-imagery-provider-wms` component.
| srs | string | | `optional` SRS specification, for use with WMS specification 1.1.0 or 1.1.1 |
| credit | Credit\| string | | `optional` A credit for the data source, which is displayed on the canvas. |
| subdomains | string\| Array | `'abc'` | `optional` The subdomains to use for the {s} placeholder in the URL template. If this parameter is a single string, each character in the string is a subdomain. If it is an array, each element in the array is a subdomain. |
| clock | Object | | `optional` A Clock instance that is used when determining the value for the time dimension. Required when options.times is specified. |
| times | Object | | `optional` TimeIntervalCollection with its data property being an object containing time dynamic dimension and their values. |
| clock | Cesium.Clock | | `optional` A Clock instance that is used when determining the value for the time dimension. Required when options.times is specified. |
| times | Cesium.TimeIntervalCollection | | `optional` TimeIntervalCollection with its data property being an object containing time dynamic dimension and their values. |

### Events

Expand Down
16 changes: 8 additions & 8 deletions website/docs/zh-CN/primitives/vc-primitive-particle.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,22 +221,22 @@
| ------ | ---- | ------ | ---- |
| show | boolean | true | `optional` 是否显示粒子。 |
| updateCallback | Function | | `optional` 更新回调函数。|
| emitter | Object | | `optional` 粒子触发器类型。 |
| emitter | Cesium.ParticleEmitter | | `optional` 粒子触发器类型。 |
| modelMatrix | Cesium.Matrix4 | | `optional` 4x4转换矩阵,可将粒子系统从模型转换为世界坐标。 |
| emitterModelMatrix | Object | | `optional` 4x4转换矩阵,用于转换粒子系统局部坐标系内的粒子系统发射器。 |
| emitterModelMatrix | Cesium.Matrix4 | | `optional` 4x4转换矩阵,用于转换粒子系统局部坐标系内的粒子系统发射器。 |
| emissionRate | number | `5` | `optional` 每秒要发射的粒子数。 |
| bursts | Array | `false` | `optional` ParticleBurst 数组,在周期性时间发射粒子。 |
| loop | boolean | `true` | `optional` 粒子系统完成后是否应循环其爆发。 |
| scale | number | `1.0` | `optional` 设置比例尺,以在其粒子寿命期间应用到粒子图像。 |
| startScale | number | | `optional` 在粒子寿命开始时应用于粒子图像的初始比例。|
| endScale | number | | `optional` 在粒子寿命结束时应用于粒子图像的最终比例。 |
| color | VcColor\|Array\|string | | `optional` 设置粒子在其粒子寿命期间的颜色。 |
| startColor | Object\|Array\|string | | `optional` 粒子在其生命初期的颜色。 |
| endColor | Object\|Array\|string | | `optional` 粒子寿命结束时的颜色。|
| image | Object\|string | | `optional` 用于广告牌的URI,HTMLImageElement或HTMLCanvasElement。 |
| imageSize | Object | | `optional` 如果设置,则将覆盖用来缩放粒子图像尺寸(以像素为单位)的minimumImageSize和maximumImageSize输入。 |
| minimumImageSize | Object\|Array | | `optional` 设置宽度的最小范围,以高度为单位,在该范围之上可以随机缩放粒子图像的尺寸(以像素为单位)。 |
| maximumImageSize | Object\|Array | | `optional` 设置最大边界(宽度乘以高度),在该边界以下可以随机缩放粒子图像的尺寸(以像素为单位)。 |
| startColor | VcColor\|Array\|string | | `optional` 粒子在其生命初期的颜色。 |
| endColor| VcColor\|Array\|string | | `optional` 粒子寿命结束时的颜色。|
| image | HTMLImageElement \| HTMLCanvasElement\|string | | `optional` 用于广告牌的URI,HTMLImageElement或HTMLCanvasElement。 |
| imageSize | VcCartesian2 | | `optional` 如果设置,则将覆盖用来缩放粒子图像尺寸(以像素为单位)的minimumImageSize和maximumImageSize输入。 |
| minimumImageSize | VcCartesian2\|Array | | `optional` 设置宽度的最小范围,以高度为单位,在该范围之上可以随机缩放粒子图像的尺寸(以像素为单位)。 |
| maximumImageSize| VcCartesian2\|Array | | `optional` 设置最大边界(宽度乘以高度),在该边界以下可以随机缩放粒子图像的尺寸(以像素为单位)。 |
| speed | number | `1.0` | `optional` 如果设置,则用该值覆盖minimumSpeed和maximumSpeed输入。 |
| minimumSpeed | number | | `optional` 设置以米/秒为单位的最小范围,在该范围上可以随机选择粒子的实际速度。|
| maximumSpeed | number | | `optional` 设置以米/秒为单位的最大范围,在该范围内将随机选择粒子的实际速度。 |
Expand Down
6 changes: 3 additions & 3 deletions website/docs/zh-CN/primitives/vc-primitive-tileset.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@
| skipLevels | number | 1 | `optional`当 skipLevelOfDetail 为 true 时,一个常量定义加载切片时要跳过的最小级别数。 当它为 0 时,不会跳过任何级别。与 skipScreenSpaceErrorFactor 结合使用以确定要加载的切片。 |
| immediatelyLoadDesiredLevelOfDetail | boolean | false | `optional` 当 skipLevelOfDetail 为 true 时,将只下载满足最大屏幕空间错误的切片。跳过因子将被忽略,并且只加载所需的切片。 |
| loadSiblings | boolean | false | `optional` 当 skipLevelOfDetail 为 true 时,确定在遍历期间是否始终下载可见切片的兄弟节点。 |
| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction<Cesium.ClippingPlaneCollection> | | `optional` ClippingPlaneCollection 用于有选择地禁用渲染 tileset。 |
| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\<Cesium.ClippingPlaneCollection\> | | `optional` ClippingPlaneCollection 用于有选择地禁用渲染 tileset。 |
| classificationType | number | | `optional` 确定此 tileset 是否会对 terrain,3D Tiles 或两者进行分类。 有关限制和限制的详细信息,请参阅 Cesium3DTileset#classificationType。**TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2** |0/1/2|
| ellipsoid | Cesium.Ellipsoid | Object | `optional` 决定地球的大小和形状参考椭球体。 |
| pointCloudShading | Object | | `optional` 用于构造 PointCloudShading 对象以基于几何误差和光照控制点衰减的选项。 |
| ellipsoid | Cesium.Ellipsoid | `optional` 决定地球的大小和形状参考椭球体。 |
| pointCloudShading | Cesium.PointCloudShading | | `optional` 用于构造 PointCloudShading 对象以基于几何误差和光照控制点衰减的选项。 |
| imageBasedLightingFactor | VcCartesian2\|Array | `[1.0, 1.0]` | `optional` 地球、天空、大气层的光照缩放因子。 |
| lightColor | VcColor\|Array | | `optional` 模型阴影的颜色和强度。 |
| luminanceAtZenith | number | `0.2` | `optional` 太阳在天顶的亮度,以每平方米千坎德拉为单位,用于该模型的过程环境图。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/primitives/vc-primitive.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
| ------ | ---- | ------ | ---- |---|
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| appearance | VcAppearance | | `optional` 指定图元的外观参数。 |
| depthFailAppearance | Object | | `optional` 指定图元在深度测试失败后的外观。 |
| depthFailAppearance | VcAppearance | | `optional` 指定图元在深度测试失败后的外观。 |
| show | boolean | `true` | `optional` 指定图元是否显示。 |
| modelMatrix | Cesium.Matrix4 | | `optional` 指定图元从模型坐标转换为世界坐标的 4 x 4 矩阵。 |
| vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/providers/vc-imagery-provider-tms.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
| minimumLevel | number | `0` | `optional` 指定服务最小层级。 |
| maximumLevel | number | | `optional` 指定服务最大层级。 |
| rectangle | VcRectangle\|Array | | `optional` 指定影像加载的矩形范围。 |
| tilingScheme | Object | | `optional` 指定服务坐标系参数。 |
| tilingScheme | Cesium.GeographicTilingScheme \| Cesium.WebMercatorTilingScheme | | `optional` 指定服务坐标系参数。 |
| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。默认 WGS84 椭球体。 |
| tileWidth | number | `256` | `optional` 指定图像瓦片宽度。 |
| tileHeight | number | `256` | `optional` 指定图像瓦片高度。 |
Expand Down
Loading

0 comments on commit 87f5afc

Please sign in to comment.