From 6cb395ebcbbb4470360c3db7aa84201dce07b67b Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:25:32 +0800 Subject: [PATCH 01/16] elipsoid --- website/docs/en-US/geometries/vc-geometry-circle.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-corridor.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-ellipse.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md | 2 +- website/docs/en-US/geometries/vc-geometry-polygon.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-polyline-volume.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-polyline.md | 2 +- website/docs/en-US/geometries/vc-geometry-rectangle.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-simple-polyline.md | 2 +- website/docs/en-US/geometries/vc-geometry-wall.md | 4 ++-- website/docs/en-US/primitives/vc-primitive-tileset.md | 2 +- website/docs/en-US/providers/vc-imagery-provider-tms.md | 2 +- website/docs/en-US/providers/vc-imagery-provider-wms.md | 2 +- .../docs/en-US/providers/vc-terrain-provider-vr-theworld.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-circle.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-corridor.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-ellipse.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-polygon.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-polyline.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-rectangle.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-simple-polyline.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-wall.md | 4 ++-- website/docs/zh-CN/primitives/vc-primitive-tileset.md | 2 +- website/docs/zh-CN/providers/vc-imagery-provider-tms.md | 2 +- .../docs/zh-CN/providers/vc-imagery-provider-urltemplate.md | 2 +- website/docs/zh-CN/providers/vc-imagery-provider-wms.md | 2 +- .../docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md | 2 +- 29 files changed, 43 insertions(+), 43 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-circle.md b/website/docs/en-US/geometries/vc-geometry-circle.md index 173ec5fa..6e5758ae 100644 --- a/website/docs/en-US/geometries/vc-geometry-circle.md +++ b/website/docs/en-US/geometries/vc-geometry-circle.md @@ -117,7 +117,7 @@ Basic usage of VcGeometryCircle component. | -------------- | ------ | ------- | --------------------------------------------------------------------------------------------------------- | | center | Object | | `required` The circle's center point in the fixed frame. | | radius | number | | `required` The radius in meters. | -| ellipsoid | Object | | `optional` The ellipsoid the circle will be on. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the circle will be on. | | height | number | `0.0` | `optional` The distance in meters between the circle and the ellipsoid surface. | | granularity | number | `0.02` | `optional` The angular distance between points on the circle in radians. | | vertexFormat | Object | | `optional` The vertex attributes to be computed. | @@ -144,7 +144,7 @@ Loading the circle geometry outline. It is equivalent to initializing a `Cesium. | --------------------- | ------ | ------- | ----------------------------------------------------------------------------------------------- | | center | Object | | `required` The circle's center point in the fixed frame. | | radius | number | | `required` The radius in meters. | -| ellipsoid | Object | | `optional` The ellipsoid the circle will be on. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the circle will be on. | | height | number | `0.0` | `optional` The distance in meters between the circle and the ellipsoid surface. | | granularity | number | `0.02` | `optional` The angular distance between points on the circle in radians. | | extrudedHeight | number | `0.0` | `optional` The distance in meters between the circle's extruded face and the ellipsoid surface. | diff --git a/website/docs/en-US/geometries/vc-geometry-corridor.md b/website/docs/en-US/geometries/vc-geometry-corridor.md index e18d2c4e..c8ca0457 100644 --- a/website/docs/en-US/geometries/vc-geometry-corridor.md +++ b/website/docs/en-US/geometries/vc-geometry-corridor.md @@ -122,7 +122,7 @@ Basic usage of VcGeometryCorridor component. | ---- | ---- | ------- | ----------- | --------------- | | positions | Array | | `required` An array of positions that define the center of the corridor. | | width | number | | `required` The distance between the edges of the corridor in meters. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | height | number | `0` | `optional` The distance in meters between the ellipsoid surface and the positions. | | extrudedHeight | number | | `optional` The distance in meters between the ellipsoid surface and the extruded face. | @@ -150,7 +150,7 @@ Loading a corridor geometry outline. It is equivalent to initializing a `Cesium. | ---- | ---- | ------- | ----------- | --------------- | | positions | Array | | `required` An array of positions that define the center of the corridor outline. | | width | number | | `required` The distance between the edges of the corridor outline. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | height | number | `0` | `optional` The distance in meters between the ellipsoid surface and the positions. | | extrudedHeight | number | | `optional` The distance in meters between the ellipsoid surface and the extruded face. | diff --git a/website/docs/en-US/geometries/vc-geometry-ellipse.md b/website/docs/en-US/geometries/vc-geometry-ellipse.md index 053cfa11..cad317de 100644 --- a/website/docs/en-US/geometries/vc-geometry-ellipse.md +++ b/website/docs/en-US/geometries/vc-geometry-ellipse.md @@ -128,7 +128,7 @@ Basic usage of VcGeometryEllipse component. | center | Object\|Array | | `required` The ellipse's center point in the fixed frame. | | semiMajorAxis | number | | `required` The length of the ellipse's semi-major axis in meters. | | semiMinorAxis | number | | `required` The length of the ellipse's semi-minor axis in meters. | -| ellipsoid | Object | | `optional` The ellipsoid the ellipse will be on. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the ellipse will be on. | | height | number | `0` | `optional` The distance in meters between the ellipse and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the ellipse's extruded face and the ellipsoid surface. | | rotation | number | `0.0` | `optional` The angle of rotation counter-clockwise from north. | @@ -157,7 +157,7 @@ Loading an ellipse geometry outline. It is equivalent to initializing a `Cesium. | center | Object | | `required` The ellipse's center point in the fixed frame. | | semiMajorAxis | number | | `required` The length of the ellipse's semi-major axis in meters. | | semiMinorAxis | number | | `required` The length of the ellipse's semi-minor axis in meters. | -| ellipsoid | Object | | `optional` The ellipsoid the ellipse will be on. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the ellipse will be on. | | height | number | `0` | `optional` The distance in meters between the ellipse and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the ellipse's extruded face and the ellipsoid surface. | | rotation | number | `0.0` | `optional` The angle of rotation counter-clockwise from north. | diff --git a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md index d978ede2..c96508a9 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md @@ -123,7 +123,7 @@ Basic usage of VcGeometryPolygonCoplanar component. | polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | | vertexFormat | Object | | `optional` The vertex attributes to be computed. | | stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-polygon.md b/website/docs/en-US/geometries/vc-geometry-polygon.md index 6b694b1e..ad3074e8 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon.md @@ -152,7 +152,7 @@ Basic usage of VcGeometryPolygon component. | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | | vertexFormat | Object | | `optional` The vertex attributes to be computed. | | stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | perPositionHeight | boolean | `false` | `optional` Use the height of options.positions for each position instead of using options.height to determine the height. | | closeTop | boolean | `true` | `optional` When false, leaves off the top of an extruded polygon open. | @@ -182,7 +182,7 @@ Loading a polygon geometry outline. It is equivalent to initializing a `Cesium.P | height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | | vertexFormat | Object | | `optional` The vertex attributes to be computed. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | perPositionHeight | boolean | `false` | `optional` Use the height of options.positions for each position instead of using options.height to determine the height. | | arcType | number | `1` | `optional` The type of line the polygon edges must follow. Valid options are ArcType.GEODESIC and ArcType.RHUMB. **NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2| diff --git a/website/docs/en-US/geometries/vc-geometry-polyline-volume.md b/website/docs/en-US/geometries/vc-geometry-polyline-volume.md index e6d4101c..f0d0f197 100644 --- a/website/docs/en-US/geometries/vc-geometry-polyline-volume.md +++ b/website/docs/en-US/geometries/vc-geometry-polyline-volume.md @@ -144,7 +144,7 @@ The basic usage of the VcGeometryPolylineVolume component. | ---- | ---- | ------- | ----------- | --------------- | | polylinePositions | Array | | `required` An array of Cartesain3 positions that define the center of the polyline volume. | | shapePositions | Array | | `required` An array of Cartesian2 positions that define the shape to be extruded along the polyline.| -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | vertexFormat | Object | | `optional` The vertex attributes to be computed. | | cornerType | number | | `optional` Determines the style of the corners. **ROUNDED: 0, MITERED: 1, BEVELED: 2** |0/1/2| @@ -170,7 +170,7 @@ Loading a polyline with a volume outline. It is equivalent to initializing a `Ce | ---- | ---- | ------- | ----------- | --------------- | | polylinePositions | Array | | `required` An array of Cartesain3 positions that define the center of the polyline volume. | | shapePositions | Array | | `required` An array of Cartesian2 positions that define the shape to be extruded along the polyline. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | cornerType | number | | `optional` Determines the style of the corners. **ROUNDED: 0, MITERED: 1, BEVELED: 2** |0/1/2| diff --git a/website/docs/en-US/geometries/vc-geometry-polyline.md b/website/docs/en-US/geometries/vc-geometry-polyline.md index 6ee09884..32f2225f 100644 --- a/website/docs/en-US/geometries/vc-geometry-polyline.md +++ b/website/docs/en-US/geometries/vc-geometry-polyline.md @@ -125,7 +125,7 @@ Basic usage of VcGeometryPolyline component. | arcType | number | `1` | `optional` The type of line the polyline segments must follow. **NONE: 0, GEODESIC: 1, RHUMB: 2** |0/1/2| | granularity | number | | `optional` The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer. | | vertexFormat | Object | | `optional` The vertex attributes to be computed. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-rectangle.md b/website/docs/en-US/geometries/vc-geometry-rectangle.md index 80e3ccca..95f09a02 100644 --- a/website/docs/en-US/geometries/vc-geometry-rectangle.md +++ b/website/docs/en-US/geometries/vc-geometry-rectangle.md @@ -118,7 +118,7 @@ Basic usage of VcGeometryRectangle component. | ---- | ---- | ------- | ----------- | | rectangle | Object\|Array | | `required` A cartographic rectangle with north, south, east and west properties. | | vertexFormat | number | | `optional` The vertex attributes to be computed. | -| ellipsoid | Object | | `optional` The ellipsoid on which the rectangle lies. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid on which the rectangle lies. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | height | number | `0` | `optional` The distance in meters between the rectangle and the ellipsoid surface. | | rotation | number | `0.0` | `optional` The rotation of the rectangle, in radians. A positive rotation is counter-clockwise. | @@ -145,7 +145,7 @@ Loading a rectangle geometry outline. It is equivalent to initializing a `Cesium | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | | rectangle | Object\|Array | | `required` A cartographic rectangle with north, south, east and west properties. | -| ellipsoid | Object | | `optional` The ellipsoid on which the rectangle lies. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid on which the rectangle lies. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | height | number | `0` | `optional` The distance in meters between the rectangle and the ellipsoid surface. | | rotation | number | `0.0` | `optional` The rotation of the rectangle, in radians. A positive rotation is counter-clockwise. | diff --git a/website/docs/en-US/geometries/vc-geometry-simple-polyline.md b/website/docs/en-US/geometries/vc-geometry-simple-polyline.md index b284d980..283513ec 100644 --- a/website/docs/en-US/geometries/vc-geometry-simple-polyline.md +++ b/website/docs/en-US/geometries/vc-geometry-simple-polyline.md @@ -104,7 +104,7 @@ Basic usage of VcGeometrySimplePolyline component. | colorsPerVertex | boolean | `false` | `optional` A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices. | | arcType | number | `1` | `optional` The type of line the polyline segments must follow. **NONE: 0, GEODESIC: 1, RHUMB: 2** |0/1/2| | granularity | number | | `optional` The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer. | -| ellipsoid | Object | | `optional` The ellipsoid to be used as a reference. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-wall.md b/website/docs/en-US/geometries/vc-geometry-wall.md index d62ac630..1939a44a 100644 --- a/website/docs/en-US/geometries/vc-geometry-wall.md +++ b/website/docs/en-US/geometries/vc-geometry-wall.md @@ -128,7 +128,7 @@ Basic usage of VcGeometryWall component. | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | maximumHeights | Array | | `optional` An array parallel to positions that give the maximum height of the wall at positions. If undefined, the height of each position in used.| | minimumHeights | Array | | `optional`An array parallel to positions that give the minimum height of the wall at positions. If undefined, the height at each position is 0.0.| -| ellipsoid | Object | | `optional` The ellipsoid for coordinate manipulation. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid for coordinate manipulation. | | vertexFormat | Object | | `optional` The vertex attributes to be computed.| ### Events @@ -154,7 +154,7 @@ Loading a wall geometry outline. It is equivalent to initializing a `Cesium.Wall | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | maximumHeights | Array | | `optional` An array parallel to positions that give the maximum height of the wall at positions. If undefined, the height of each position in used.| | minimumHeights | Array | | `optional` An array parallel to positions that give the minimum height of the wall at positions. If undefined, the height at each position is 0.0.| -| ellipsoid | Object | | `optional` The ellipsoid for coordinate manipulation. | +| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid for coordinate manipulation. | | vertexFormat | Object | | `optional` The vertex attributes to be computed.| ### VcGeometryWallOutline Events diff --git a/website/docs/en-US/primitives/vc-primitive-tileset.md b/website/docs/en-US/primitives/vc-primitive-tileset.md index 553f6e92..5a74a8b5 100644 --- a/website/docs/en-US/primitives/vc-primitive-tileset.md +++ b/website/docs/en-US/primitives/vc-primitive-tileset.md @@ -91,7 +91,7 @@ Basic usage of VcPrimitiveTileset component. | loadSiblings | boolean | false | `optional` When skipLevelOfDetail is true, determines whether siblings of visible tiles are always downloaded during traversal. | | clippingPlanes | Object | | `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 | Object | Ellipsoid.WGS84 | `optional` The ellipsoid determining the size and shape of the globe. | +| 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. | | imageBasedLightingFactor | Object\|Array | `[1.0, 1.0]` | `optional` Scales the diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox. | | lightColor | Object\|Array | | `optional` The light color when shading models. When undefined the scene's light color is used instead. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-tms.md b/website/docs/en-US/providers/vc-imagery-provider-tms.md index 6bace4ea..849f39f3 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-tms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-tms.md @@ -101,7 +101,7 @@ Basic usage of the `vc-imagery-provider-tms` component. | rectangle | Object\|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. | -| ellipsoid | Object | | `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. | +| 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.| | flipXY | boolean | | `optional` Older versions of gdal2tiles.py flipped X and Y values in tilemapresource.xml. Specifying this option will do the same, allowing for loading of these incorrect tilesets. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-wms.md b/website/docs/en-US/providers/vc-imagery-provider-wms.md index c5dbe2af..c7682be3 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wms.md @@ -99,7 +99,7 @@ Basic usage of the `vc-imagery-provider-wms` component. | getFeatureInfoFormats | Array | | `optional` The formats in which to try WMS GetFeatureInfo requests. | | rectangle | Object\|Array | | `optional` The rectangle of the layer. | | tilingScheme | Object | | `optional` The tiling scheme to use to divide the world into tiles. | -| ellipsoid | Object | | `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. | +| 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. | | 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. | diff --git a/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md b/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md index b9e653b1..82eee405 100644 --- a/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md +++ b/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md @@ -71,7 +71,7 @@ Basic usage of the `vc-terrain-provider-vr-theworld` component. | --------- | -------------- | ------- | ------------------------------------------------------------------------------------------ | | url | string\|Object | | `required` The URL of the VR-TheWorld TileMap. | | token | string | | `optional` The ellipsoid. If this parameter is not specified, the WGS84 ellipsoid is used. | -| ellipsoid | Object | | `optional` A credit for the data source, which is displayed on the canvas. | +| ellipsoid | Cesium.Ellipsoid | | `optional` A credit for the data source, which is displayed on the canvas. | ### Events diff --git a/website/docs/zh-CN/geometries/vc-geometry-circle.md b/website/docs/zh-CN/geometries/vc-geometry-circle.md index bdf6c519..c75dc2c3 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-circle.md +++ b/website/docs/zh-CN/geometries/vc-geometry-circle.md @@ -117,7 +117,7 @@ | -------------- | ------ | ------ | ------------------------------------------------------------------------ | | center | Object | | `required` 指定圆形中心点。 | | radius | number | | `required` 指定圆形半径。 | -| ellipsoid | Object | | `optional` 指定圆形参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定圆形参考椭球体。 | | height | number | `0.0` | `optional` 指定圆形离地表的高度(米)。 | | granularity | number | `0.02` | `optional` 指定圆形圆弧每个点的角间距(弧度)。 | | vertexFormat | Object | | `optional` 指定要计算的顶点属性。 | @@ -144,7 +144,7 @@ | --------------------- | ------ | ------ | ----------------------------------------------------- | | center | Object | | `required` 指定圆形中心点。 | | radius | number | | `required` 指定圆形半径。 | -| ellipsoid | Object | | `optional` 指定圆形参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定圆形参考椭球体。 | | height | number | `0.0` | `optional` 指定圆形离地表的高度(米)。 | | granularity | number | `0.02` | `optional` 指定圆形圆弧每个点的角间距(弧度)。 | | extrudedHeight | number | `0.0` | `optional` 指定圆形拉伸的高度(米)。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-corridor.md b/website/docs/zh-CN/geometries/vc-geometry-corridor.md index ed64edc4..900462ef 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-corridor.md +++ b/website/docs/zh-CN/geometries/vc-geometry-corridor.md @@ -121,7 +121,7 @@ | -------------- | ------ | ------ | ------------------------------------------------------------------------- | ------ | | positions | Array | | `required` 指定描述 corridor 位置的经纬度(高度)数组。 | | width | number | | `required` 指定 corridor 边之间的距离。 | -| ellipsoid | Object | | `optional` 指定 corridor 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 corridor 参考椭球体。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 | | height | number | `0` | `optional` 指定 corridor 高度。 | | extrudedHeight | number | | `optional` 指定 corridor 拉伸高度。 | @@ -148,7 +148,7 @@ | -------------- | ------ | ------ | ------------------------------------------------------------------------- | ------ | | positions | Array | | `required` 指定描述 corridor 位置的经纬度(高度)数组。 | | width | number | | `required` 指定 corridor 边之间的距离。 | -| ellipsoid | Object | | `optional` 指定 corridor 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 corridor 参考椭球体。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 | | height | number | `0` | `optional` 指定 corridor 高度。 | | extrudedHeight | number | | `optional` 指定 corridor 拉伸高度。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-ellipse.md b/website/docs/zh-CN/geometries/vc-geometry-ellipse.md index 797a0fd6..3cbf73e5 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-ellipse.md +++ b/website/docs/zh-CN/geometries/vc-geometry-ellipse.md @@ -128,7 +128,7 @@ | center | Object\|Array | | `required` 指定椭圆的中心位置。 | | semiMajorAxis | number | | `required` 指定椭圆的长半轴长度,单位是米。 | | semiMinorAxis | number | | `required` 指定椭圆的短半轴长度,单位是米。 | -| ellipsoid | Object | | `optional` 指定椭圆的参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定椭圆的参考椭球体。 | | height | number | `0` | `optional` 指定椭圆离地表的高度。 | | extrudedHeight | number | | `optional` 指定椭圆拉伸高度。 | | rotation | number | `0.0` | `optional` 指定椭圆以正北逆时针方向旋转的角度。 | @@ -157,7 +157,7 @@ | center | Object\|Array | | `required` 指定椭圆的中心位置。 | | semiMajorAxis | number | | `required` 指定椭圆的长半轴长度,单位是米。 | | semiMinorAxis | number | | `required` 指定椭圆的短半轴长度,单位是米。 | -| ellipsoid | Object | | `optional` 指定椭圆的参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定椭圆的参考椭球体。 | | height | number | `0` | `optional` 指定椭圆离地表的高度。 | | extrudedHeight | number | | `optional` 指定椭圆拉伸高度。 | | rotation | number | `0.0` | `optional` 指定椭圆以正北逆时针方向旋转的角度。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md b/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md index 4ecb200e..0f48e508 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md @@ -123,7 +123,7 @@ | polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的位置,可以包含岛洞。 | | stRotation | number | `0.0` | `optional` 指定 polygon 纹理按正北方向逆时针旋转角度。 | | vertexFormat | Object | | `optional` 指定 polygon 要缓存的顶点属性。 | -| ellipsoid | Object | | `optional` 指定 polygon 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-polygon.md b/website/docs/zh-CN/geometries/vc-geometry-polygon.md index dc46a436..150ce924 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polygon.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polygon.md @@ -151,7 +151,7 @@ | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | | vertexFormat | Object | | `optional` 指定 polygon 要缓存的顶点属性。 | | stRotation | number | `0.0` | `optional` 指定 polygon 纹理按正北方向逆时针旋转角度。 | -| ellipsoid | Object | | `optional` 指定 polygon 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | | granularity | number | | `optional` 指定 polygon 每个纬度和经度之间的距离(以弧度为单位)。 | | perPositionHeight | boolean | `false` | `optional` 指定 polygon 是否使用每个位置的高度。 | | closeTop | boolean | `true` | `optional` 指定 polygon 拉伸出来的顶部是否闭合。 | @@ -180,7 +180,7 @@ | height | number | `0` | `optional` 指定 polygon 的高度。 | | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | | vertexFormat | Object | | `optional` 指定 polygon 要缓存的顶点属性。 | -| ellipsoid | Object | | `optional` 指定 polygon 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | | granularity | number | | `optional` 指定 polygon 每个纬度和经度之间的距离(以弧度为单位)。 | | perPositionHeight | boolean | `false` | `optional` 指定 polygon 是否使用每个位置的高度。 | | arcType | number | `1` | `optional` 指定 polygon 线条类型。**NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md b/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md index d91247c0..7f43dda4 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md @@ -143,7 +143,7 @@ | ----------------- | ------ | ------ | --------------------------------------------------------------------------------- | ------ | | polylinePositions | Array | | `required` 指定 polyline volume 位置信息。 | | shapePositions | Array | | `required` 指定 polyline volume 拉伸的形状数组。 | -| ellipsoid | Object | | `optional` 指定 polyline volume 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polyline volume 参考椭球体。 | | granularity | number | | `optional` 指定 polyline volume 每个经纬度之间的距离(弧度)。 | | vertexFormat | Object | | `optional` 指定 polyline volume 顶点属性渲染方式。 | | cornerType | number | | `optional` 指定 polyline volume 转角类型。 **ROUNDED: 0, MITERED: 1, BEVELED: 2** | 0/1/2 | @@ -168,7 +168,7 @@ | ----------------- | ------ | ------ | --------------------------------------------------------------------------------- | ------ | | polylinePositions | Array | | `required` 指定 polyline volume 位置信息。 | | shapePositions | Array | | `required` 指定 polyline volume 拉伸的形状数组。 | -| ellipsoid | Object | | `optional` 指定 polyline volume 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polyline volume 参考椭球体。 | | granularity | number | | `optional` 指定 polyline volume 每个经纬度之间的距离(弧度)。 | | cornerType | number | | `optional` 指定 polyline volume 转角类型。 **ROUNDED: 0, MITERED: 1, BEVELED: 2** | 0/1/2 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-polyline.md b/website/docs/zh-CN/geometries/vc-geometry-polyline.md index dc2507cb..34c3ec25 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polyline.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polyline.md @@ -126,7 +126,7 @@ | arcType | number | `1` | `optional` 指定线条类型。 **NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位),arcType 不为 0 时有效。 | | vertexFormat | Object | | `optional` 指定要缓存的顶点属性类型。 | -| ellipsoid | Object | | `optional` 指定参考椭球体。 | | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-rectangle.md b/website/docs/zh-CN/geometries/vc-geometry-rectangle.md index 459434c5..f2c01461 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-rectangle.md +++ b/website/docs/zh-CN/geometries/vc-geometry-rectangle.md @@ -118,7 +118,7 @@ | -------------- | ------------- | ------ | ---------------------------------------------------------------- | | rectangle | Object\|Array | | `required` 指定矩形四至参数。 | | vertexFormat | number | | `optional` 指定矩形要缓存的顶点属性。 | -| ellipsoid | Object | | `optional` 指定矩形所在的椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定矩形所在的椭球体。 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位)。 | | height | number | `0` | `optional` 指定矩形高度。 | | rotation | number | `0.0` | `optional` 指定矩形的旋转角(弧度),逆时针方向为正旋转。 | @@ -144,7 +144,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | -------------- | ------------- | ------ | --------------------------------------------------------- | | rectangle | Object\|Array | | `required` 指定矩形四至参数。 | -| ellipsoid | Object | | `optional` 指定矩形所在的椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定矩形所在的椭球体。 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位)。 | | height | number | `0` | `optional` 指定矩形高度。 | | rotation | number | `0.0` | `optional` 指定矩形的旋转角(弧度),逆时针方向为正旋转。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-simple-polyline.md b/website/docs/zh-CN/geometries/vc-geometry-simple-polyline.md index e62dabf5..2e84daf9 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-simple-polyline.md +++ b/website/docs/zh-CN/geometries/vc-geometry-simple-polyline.md @@ -103,7 +103,7 @@ | colorsPerVertex | boolean | `false` | `optional` 指定颜色数组是根据线段数取均值还是通过线段顶点插值。 | | arcType | number | `1` | `optional` 指定线条类型。 **NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位),arcType 不为 0 时有效。 | -| ellipsoid | Object | | `optional` 指定参考椭球体。 | | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-wall.md b/website/docs/zh-CN/geometries/vc-geometry-wall.md index 655c400e..c8464c86 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-wall.md +++ b/website/docs/zh-CN/geometries/vc-geometry-wall.md @@ -127,7 +127,7 @@ | granularity | number | | `optional` 指定每个纬度和经度之间的距离(弧度)。 | | maximumHeights | Array | | `optional` 指定 wall 顶部的高度数组。 | | minimumHeights | Array | | `optional` 指定 wall 底部的高度数组。 | -| ellipsoid | Object | | `optional` 指定参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | | vertexFormat | Object | | `optional` 指定顶点属性渲染方式。 | ### 事件 @@ -152,7 +152,7 @@ | granularity | number | | `optional` 指定每个纬度和经度之间的距离(弧度)。 | | maximumHeights | Array | | `optional` 指定 wall 顶部的高度数组。 | | minimumHeights | Array | | `optional` 指定 wall 底部的高度数组。 | -| ellipsoid | Object | | `optional` 指定参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | ### VcGeometryWallOutline 事件 diff --git a/website/docs/zh-CN/primitives/vc-primitive-tileset.md b/website/docs/zh-CN/primitives/vc-primitive-tileset.md index 76a7e058..22a3f489 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-tileset.md +++ b/website/docs/zh-CN/primitives/vc-primitive-tileset.md @@ -95,7 +95,7 @@ | loadSiblings | boolean | false | `optional` 当 skipLevelOfDetail 为 true 时,确定在遍历期间是否始终下载可见切片的兄弟节点。 | | clippingPlanes | Object | | `optional` ClippingPlaneCollection 用于有选择地禁用渲染 tileset。 | | classificationType | number | | `optional` 确定此 tileset 是否会对 terrain,3D Tiles 或两者进行分类。 有关限制和限制的详细信息,请参阅 Cesium3DTileset#classificationType。**TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2** |0/1/2| -| ellipsoid | Object | Object | `optional` 决定地球的大小和形状参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | Object | `optional` 决定地球的大小和形状参考椭球体。 | | pointCloudShading | Object | | `optional` 用于构造 PointCloudShading 对象以基于几何误差和光照控制点衰减的选项。 | | imageBasedLightingFactor | Object\|Array | `[1.0, 1.0]` | `optional` 地球、天空、大气层的光照缩放因子。 | | lightColor | Object\|Array | | `optional` 模型阴影的颜色和强度。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md index 1aa298b8..309a8c8c 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md @@ -100,7 +100,7 @@ | maximumLevel | number | | `optional` 指定服务最大层级。 | | rectangle | Object\|Array | | `optional` 指定影像加载的矩形范围。 | | tilingScheme | Object | | `optional` 指定服务坐标系参数。 | -| ellipsoid | Object | | `optional` 指定参考椭球体。默认 WGS84 椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。默认 WGS84 椭球体。 | | tileWidth | number | `256` | `optional` 指定图像瓦片宽度。 | | tileHeight | number | `256` | `optional` 指定图像瓦片高度。 | | flipXY | boolean | | `optional` 指定是否翻转 XY | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md index 72d21746..5d3baaa9 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md @@ -118,7 +118,7 @@ | maximumLevel | number | | `optional` 最大层级。 | | rectangle | Object\|Array | | `optional` 图层的矩形范围,此矩形限制了影像可见范围。 | | tilingScheme | Object | | `optional` 指定服务的投影参数。 | -| ellipsoid | Object | | `optional` 参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 参考椭球体。 | | tileWidth | number | `256` | `optional` 像元宽度。 | | tileHeight | number | `256` | `optional` 像元高度。 | | hasAlphaChannel | boolean | `true` | `optional` 设置为 true 表示图层包含 alpha 透明通道,反之没有。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md index 52bf80b9..dfa3a602 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md @@ -98,7 +98,7 @@ | getFeatureInfoFormats | Array | | `optional` 指定 WMS GetFeatureInfo 请求的格式。 | | rectangle | Object\|Array | | `optional` 指定 WMS 图层矩形范围。 | | tilingScheme | Object | | `optional` 指定 WMS 服务瓦片投影参数。 | -| ellipsoid | Object | | `optional` 指定 WMS 服务椭球体参数,如果指定了 tilingScheme 此属性无效。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定 WMS 服务椭球体参数,如果指定了 tilingScheme 此属性无效。 | | tileWidth | number | `256` | `optional` 指定像元宽度。 | | tileHeight | number | `256` | `optional` 指定像元高度。 | | minimumLevel | number | `0` | `optional` 指定图层可以显示的最小层级。 | diff --git a/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md b/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md index 23948006..fcebfbaf 100644 --- a/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md +++ b/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md @@ -80,7 +80,7 @@ | --------- | -------------- | ------ | ----------------------------- | | url | string\|Object | | `required` 指定服务地址。 | | token | string | | `optional` 指定服务授权令牌。 | -| ellipsoid | Object | | `optional` 指定参考椭球体。 | +| ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | ### 事件 From 0ca6378846ba176a609ff4b4c74eb417f18bba5a Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:30:31 +0800 Subject: [PATCH 02/16] ex positon --- website/docs/en-US/geometries/vc-geometry-box.md | 2 +- website/docs/en-US/geometries/vc-geometry-circle.md | 2 +- website/docs/en-US/geometries/vc-geometry-corridor.md | 2 +- website/docs/en-US/geometries/vc-geometry-cylinder.md | 2 +- website/docs/en-US/geometries/vc-geometry-ellipse.md | 2 +- website/docs/en-US/geometries/vc-geometry-ellipsoid.md | 2 +- website/docs/en-US/geometries/vc-geometry-frustum.md | 2 +- website/docs/en-US/geometries/vc-geometry-plane.md | 2 +- website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md | 2 +- website/docs/en-US/geometries/vc-geometry-polygon.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-polyline-volume.md | 2 +- website/docs/en-US/geometries/vc-geometry-polyline.md | 2 +- website/docs/en-US/geometries/vc-geometry-sphere.md | 2 +- website/docs/en-US/geometries/vc-geometry-wall.md | 4 ++-- website/docs/en-US/primitives/vc-collection-billboard.md | 2 +- website/docs/en-US/primitives/vc-collection-label.md | 2 +- website/docs/en-US/primitives/vc-collection-point.md | 2 +- website/docs/en-US/vc-entity.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-circle.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-corridor.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-cylinder.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-ellipse.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-frustum.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-plane.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-polygon.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-polyline.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-sphere.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-wall.md | 2 +- website/docs/zh-CN/primitives/vc-collection-billboard.md | 2 +- website/docs/zh-CN/primitives/vc-collection-label.md | 2 +- website/docs/zh-CN/primitives/vc-collection-point.md | 2 +- website/docs/zh-CN/vc-entity.md | 2 +- 35 files changed, 38 insertions(+), 38 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-box.md b/website/docs/en-US/geometries/vc-geometry-box.md index 6297b990..97835489 100644 --- a/website/docs/en-US/geometries/vc-geometry-box.md +++ b/website/docs/en-US/geometries/vc-geometry-box.md @@ -120,7 +120,7 @@ Basic usage of VcGeometryBox component. | Name | Type | Default | Description | | ------------ | ------ | ------- | ----------------------------------------------------------------------------------------------------------- | | dimensions | Object | | `required` The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-circle.md b/website/docs/en-US/geometries/vc-geometry-circle.md index 6e5758ae..4021233f 100644 --- a/website/docs/en-US/geometries/vc-geometry-circle.md +++ b/website/docs/en-US/geometries/vc-geometry-circle.md @@ -120,7 +120,7 @@ Basic usage of VcGeometryCircle component. | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the circle will be on. | | height | number | `0.0` | `optional` The distance in meters between the circle and the ellipsoid surface. | | granularity | number | `0.02` | `optional` The angular distance between points on the circle in radians. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | extrudedHeight | number | `0.0` | `optional` The distance in meters between the circle's extruded face and the ellipsoid surface. | | stRotation | number | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | diff --git a/website/docs/en-US/geometries/vc-geometry-corridor.md b/website/docs/en-US/geometries/vc-geometry-corridor.md index c8ca0457..fcd7eefb 100644 --- a/website/docs/en-US/geometries/vc-geometry-corridor.md +++ b/website/docs/en-US/geometries/vc-geometry-corridor.md @@ -126,7 +126,7 @@ Basic usage of VcGeometryCorridor component. | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | height | number | `0` | `optional` The distance in meters between the ellipsoid surface and the positions. | | extrudedHeight | number | | `optional` The distance in meters between the ellipsoid surface and the extruded face. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed.| +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed.| | cornerType | number | `0` | `optional` Determines the style of the corners. **ROUNDED: 0, MITERED: 1, BEVELED: 2** |0/1/2| ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-cylinder.md b/website/docs/en-US/geometries/vc-geometry-cylinder.md index a0ef43e0..e7089bb6 100644 --- a/website/docs/en-US/geometries/vc-geometry-cylinder.md +++ b/website/docs/en-US/geometries/vc-geometry-cylinder.md @@ -141,7 +141,7 @@ Basic usage of VcGeometryCylinder component. | topRadius | number | | `required` A numeric Property specifying the radius of the top of the cylinder. | | bottomRadius | number | | `required` A numeric Property specifying the radius of the bottom of the cylinder. | | slices | number | `128` | `optional` The number of edges around the perimeter of the cylinder. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-ellipse.md b/website/docs/en-US/geometries/vc-geometry-ellipse.md index cad317de..06d1672d 100644 --- a/website/docs/en-US/geometries/vc-geometry-ellipse.md +++ b/website/docs/en-US/geometries/vc-geometry-ellipse.md @@ -134,7 +134,7 @@ Basic usage of VcGeometryEllipse component. | rotation | number | `0.0` | `optional` The angle of rotation counter-clockwise from north. | | stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates counter-clockwise from north. | | granularity | number | | `optional` The angular distance between points on the ellipse in radians. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-ellipsoid.md b/website/docs/en-US/geometries/vc-geometry-ellipsoid.md index 979f4c61..44314f12 100644 --- a/website/docs/en-US/geometries/vc-geometry-ellipsoid.md +++ b/website/docs/en-US/geometries/vc-geometry-ellipsoid.md @@ -139,7 +139,7 @@ The basic usage of VcGeometryEllipsoid component. | maximumCone | number | `PI` | `optional` The maximum angle measured from the positive z-axis and toward the negative z-axis. | | stackPartitions | number | `10` | `optional` The number of times to partition the ellipsoid into stacks. | | slicePartitions | number | `8` | `optional` The number of times to partition the ellipsoid into radial slices.| -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-frustum.md b/website/docs/en-US/geometries/vc-geometry-frustum.md index 18419e69..de9adf58 100644 --- a/website/docs/en-US/geometries/vc-geometry-frustum.md +++ b/website/docs/en-US/geometries/vc-geometry-frustum.md @@ -137,7 +137,7 @@ Basic usage of the VcGeometryFrustum component. | frustum | Object | | `optional` The frustum. | | origin | Object\|Array | | `optional` The origin of the frustum. | | orientation | Object\|Array | | `optional` The orientation of the frustum. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-plane.md b/website/docs/en-US/geometries/vc-geometry-plane.md index ab384226..818db319 100644 --- a/website/docs/en-US/geometries/vc-geometry-plane.md +++ b/website/docs/en-US/geometries/vc-geometry-plane.md @@ -130,7 +130,7 @@ Basic usage of VcGeometryPlane component. | Name | Type | Default | Description | | ------------ | ------ | ------- | ------------------------------------------------ | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md index c96508a9..ae588330 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md @@ -121,7 +121,7 @@ Basic usage of VcGeometryPolygonCoplanar component. | Name | Type | Default | Description | | ---------------- | -------------- | ------- | --------------------------------------------------------------------------------------------------------- | | polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | diff --git a/website/docs/en-US/geometries/vc-geometry-polygon.md b/website/docs/en-US/geometries/vc-geometry-polygon.md index ad3074e8..4b36eb6d 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon.md @@ -150,7 +150,7 @@ Basic usage of VcGeometryPolygon component. | polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | | height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | @@ -181,7 +181,7 @@ Loading a polygon geometry outline. It is equivalent to initializing a `Cesium.P | polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | | height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | perPositionHeight | boolean | `false` | `optional` Use the height of options.positions for each position instead of using options.height to determine the height. | diff --git a/website/docs/en-US/geometries/vc-geometry-polyline-volume.md b/website/docs/en-US/geometries/vc-geometry-polyline-volume.md index f0d0f197..4381e83c 100644 --- a/website/docs/en-US/geometries/vc-geometry-polyline-volume.md +++ b/website/docs/en-US/geometries/vc-geometry-polyline-volume.md @@ -146,7 +146,7 @@ The basic usage of the VcGeometryPolylineVolume component. | shapePositions | Array | | `required` An array of Cartesian2 positions that define the shape to be extruded along the polyline.| | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | cornerType | number | | `optional` Determines the style of the corners. **ROUNDED: 0, MITERED: 1, BEVELED: 2** |0/1/2| ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-polyline.md b/website/docs/en-US/geometries/vc-geometry-polyline.md index 32f2225f..a62181a9 100644 --- a/website/docs/en-US/geometries/vc-geometry-polyline.md +++ b/website/docs/en-US/geometries/vc-geometry-polyline.md @@ -124,7 +124,7 @@ Basic usage of VcGeometryPolyline component. | colorsPerVertex | boolean | `false` | `optional` A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices. | | arcType | number | `1` | `optional` The type of line the polyline segments must follow. **NONE: 0, GEODESIC: 1, RHUMB: 2** |0/1/2| | granularity | number | | `optional` The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-sphere.md b/website/docs/en-US/geometries/vc-geometry-sphere.md index cc723c2e..d66f0c34 100644 --- a/website/docs/en-US/geometries/vc-geometry-sphere.md +++ b/website/docs/en-US/geometries/vc-geometry-sphere.md @@ -125,7 +125,7 @@ The basic usage of VcGeometrySphere component. | radius | number | `1.0` | `optional` The radius of the sphere. | | stackPartitions | number | `0.0` | `optional` The number of times to partition the ellipsoid into stacks. | | slicePartitions | number | `10` | `optional` The number of times to partition the ellipsoid into radial slices. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed. | +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-wall.md b/website/docs/en-US/geometries/vc-geometry-wall.md index 1939a44a..8d461ee6 100644 --- a/website/docs/en-US/geometries/vc-geometry-wall.md +++ b/website/docs/en-US/geometries/vc-geometry-wall.md @@ -129,7 +129,7 @@ Basic usage of VcGeometryWall component. | maximumHeights | Array | | `optional` An array parallel to positions that give the maximum height of the wall at positions. If undefined, the height of each position in used.| | minimumHeights | Array | | `optional`An array parallel to positions that give the minimum height of the wall at positions. If undefined, the height at each position is 0.0.| | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid for coordinate manipulation. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed.| +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed.| ### Events @@ -155,7 +155,7 @@ Loading a wall geometry outline. It is equivalent to initializing a `Cesium.Wall | maximumHeights | Array | | `optional` An array parallel to positions that give the maximum height of the wall at positions. If undefined, the height of each position in used.| | minimumHeights | Array | | `optional` An array parallel to positions that give the minimum height of the wall at positions. If undefined, the height at each position is 0.0.| | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid for coordinate manipulation. | -| vertexFormat | Object | | `optional` The vertex attributes to be computed.| +| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed.| ### VcGeometryWallOutline Events diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index 68ccb530..b32443ed 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -158,7 +158,7 @@ Loading a viewport-aligned image positioned in the 3D scene. It is equivalent to | image | string\|Object | | `optional` The image to be used for this billboard. If a texture has already been created for the given image, the existing texture is used. | | pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this billboard. | | pixelOffsetScaleByDistance | Object\|Array | | `optional` The near and far pixel offset scaling properties of a Billboard based on the billboard's distance from the camera.| -| position | Object\|Array | | `optional` The position of this billboard.| +| position | VcPosition\|Array | | `optional` The position of this billboard.| | rotation | number | `0` | `optional` The rotation angle in radians. | | scale | number | `1.0` | `optional` The uniform scale that is multiplied with the billboard's image size in pixels. | | scaleByDistance | Object\|Array | | `optional` The near and far scaling properties of a Billboard based on the billboard's distance from the camera.| diff --git a/website/docs/en-US/primitives/vc-collection-label.md b/website/docs/en-US/primitives/vc-collection-label.md index 99b9682a..e0850eca 100644 --- a/website/docs/en-US/primitives/vc-collection-label.md +++ b/website/docs/en-US/primitives/vc-collection-label.md @@ -180,7 +180,7 @@ Loading a viewport-aligned text positioned in the 3D scene. It is equivalent to | outlineWidth | number | `0` | `optional` The outline width of this label. | | pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this label. | | pixelOffsetScaleByDistance | Object\|Array | | `optional` The near and far pixel offset scaling properties of a Label based on the Label's distance from the camera.| -| position | Object | | `optional` The position of this label.| +| position | VcPosition | | `optional` The position of this label.| | scale | number | `1.0` | `optional` The uniform scale that is multiplied with the label's size in pixels. | | scaleByDistance | Object\|Array | | `optional` The near and far scaling properties of a Label based on the label's distance from the camera. | | show | boolean | `true` | `optional` Determines if this label will be shown. Use this to hide or show a label, instead of removing it and re-adding it to the collection. | diff --git a/website/docs/en-US/primitives/vc-collection-point.md b/website/docs/en-US/primitives/vc-collection-point.md index dbec6079..6911742d 100644 --- a/website/docs/en-US/primitives/vc-collection-point.md +++ b/website/docs/en-US/primitives/vc-collection-point.md @@ -150,7 +150,7 @@ Loading a graphical point positioned in the 3D scene. It is equivalent to initia | outlineColor | Object \| Array \| string | `'black'` | `optional` The outline color of the point. | | outlineWidth | number | `0` | `optional`The outline width in pixels. This width adds to pixelSize, increasing the total size of the point. | | pixelSize | number | `1` | `optional` The inner size of the point in pixels. | -| position | Object\|Array | | `optional` The position of this point. | +| position | VcPosition\|Array | | `optional` The position of this point. | | scaleByDistance | Object\|Array | | `optional` The near and far scaling properties of a point based on the point's distance from the camera | | show | boolean | `true` | `optional` Determines if this point will be shown. Use this to hide or show a point, instead of removing it and re-adding it to the collection. | | translucencyByDistance | Object\|Array | | `optional` The near and far translucency properties of a point based on the point's distance from the camera. | diff --git a/website/docs/en-US/vc-entity.md b/website/docs/en-US/vc-entity.md index 832ab04e..cec9a3f5 100644 --- a/website/docs/en-US/vc-entity.md +++ b/website/docs/en-US/vc-entity.md @@ -92,7 +92,7 @@ Basic usage of `vc-entity`. | availability | | | `optional` The availability, if any, associated with this object. | | show | boolean | `true` | `optional` A boolean value indicating if the entity and its children are displayed. | | description | | | `optional` A string Property specifying an HTML description for this entity. | -| position | Object\|Array\|Function | | `optional` A Property specifying the entity position. | +| position | VcPosition\|Array\|Function | | `optional` A Property specifying the entity position. | | orientation | | | `optional` A Property specifying the entity orientation. | | viewFrom | | | `optional` A suggested initial offset for viewing this object. | | parent | | | `optional` A parent entity to associate with this entity. | diff --git a/website/docs/zh-CN/geometries/vc-geometry-circle.md b/website/docs/zh-CN/geometries/vc-geometry-circle.md index c75dc2c3..ca010f39 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-circle.md +++ b/website/docs/zh-CN/geometries/vc-geometry-circle.md @@ -120,7 +120,7 @@ | ellipsoid | Cesium.Ellipsoid | | `optional` 指定圆形参考椭球体。 | | height | number | `0.0` | `optional` 指定圆形离地表的高度(米)。 | | granularity | number | `0.02` | `optional` 指定圆形圆弧每个点的角间距(弧度)。 | -| vertexFormat | Object | | `optional` 指定要计算的顶点属性。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定要计算的顶点属性。 | | extrudedHeight | number | `0.0` | `optional` 指定圆形拉伸的高度(米)。 | | stRotation | number | `0.0` | `optional` 指定圆形纹理的旋转坐标(以弧度为单位)。 正旋转为逆时针方向。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-corridor.md b/website/docs/zh-CN/geometries/vc-geometry-corridor.md index 900462ef..6785f677 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-corridor.md +++ b/website/docs/zh-CN/geometries/vc-geometry-corridor.md @@ -125,7 +125,7 @@ | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 | | height | number | `0` | `optional` 指定 corridor 高度。 | | extrudedHeight | number | | `optional` 指定 corridor 拉伸高度。 | -| vertexFormat | Object | | `optional` 指定 corridor 要缓存的顶点属性。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定 corridor 要缓存的顶点属性。 | | cornerType | number | `0` | `optional` 指定 corridor 转角样式。**ROUNDED: 0, MITERED: 1, BEVELED: 2** | 0/1/2 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-cylinder.md b/website/docs/zh-CN/geometries/vc-geometry-cylinder.md index eb17aa12..b48b2909 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-cylinder.md +++ b/website/docs/zh-CN/geometries/vc-geometry-cylinder.md @@ -141,7 +141,7 @@ | topRadius | number | | `required` 指定圆柱体顶部半径。 | | bottomRadius | number | | `required` 指定圆柱体底部半径。 | | slices | number | `128` | `optional` 指定圆柱圆周边数。 | -| vertexFormat | Object | | `optional` 指定顶点属性渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定顶点属性渲染方式。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-ellipse.md b/website/docs/zh-CN/geometries/vc-geometry-ellipse.md index 3cbf73e5..38f79822 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-ellipse.md +++ b/website/docs/zh-CN/geometries/vc-geometry-ellipse.md @@ -134,7 +134,7 @@ | rotation | number | `0.0` | `optional` 指定椭圆以正北逆时针方向旋转的角度。 | | stRotation | number | `0.0` | `optional` 指定椭圆纹理以正北逆时针方向旋转的角度。 | | granularity | number | | `optional` 指定椭圆上点之间的角距离(弧度)。 | -| vertexFormat | Object | | `optional` 指定顶点属性渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定顶点属性渲染方式。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md b/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md index 75a1f1c3..b33702ee 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md +++ b/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md @@ -138,7 +138,7 @@ | maximumCone | number | `PI` | `optional` 指定椭球体从 z 轴正半轴到 z 轴负半轴的最大角度。 | | stackPartitions | number | `64` | `optional` 指定将椭球体横向划分为层的次数。 | | slicePartitions | number | `64` | `optional` 指定将椭球体纵向划分为片的次数。 | -| vertexFormat | Object | | `optional` 指定椭球体顶点属性渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定椭球体顶点属性渲染方式。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-frustum.md b/website/docs/zh-CN/geometries/vc-geometry-frustum.md index 7fc105a9..0002d169 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-frustum.md +++ b/website/docs/zh-CN/geometries/vc-geometry-frustum.md @@ -137,7 +137,7 @@ | frustum | Object | | `optional` 指定视锥体参数。 | | origin | Object\|Array | | `optional` 指定视锥体原点。 | | orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 | -| vertexFormat | Object | | `optional` 指定视锥体顶点渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定视锥体顶点渲染方式。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-plane.md b/website/docs/zh-CN/geometries/vc-geometry-plane.md index b6ff4dcf..9198bcc7 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-plane.md +++ b/website/docs/zh-CN/geometries/vc-geometry-plane.md @@ -130,7 +130,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------------ | ------ | ------ | --------------------------------- | -| vertexFormat | Object | | `optional` 指定顶点坐标渲染类型。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定顶点坐标渲染类型。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md b/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md index 0f48e508..496a7811 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md @@ -122,7 +122,7 @@ | ---------------- | ------------- | ------ | ------------------------------------------------------ | | polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的位置,可以包含岛洞。 | | stRotation | number | `0.0` | `optional` 指定 polygon 纹理按正北方向逆时针旋转角度。 | -| vertexFormat | Object | | `optional` 指定 polygon 要缓存的顶点属性。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定 polygon 要缓存的顶点属性。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-polygon.md b/website/docs/zh-CN/geometries/vc-geometry-polygon.md index 150ce924..d9d4a33b 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polygon.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polygon.md @@ -149,7 +149,7 @@ | polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性,可以包含岛洞。 | | height | number | `0` | `optional` 指定 polygon 的高度。 | | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | -| vertexFormat | Object | | `optional` 指定 polygon 要缓存的顶点属性。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定 polygon 要缓存的顶点属性。 | | stRotation | number | `0.0` | `optional` 指定 polygon 纹理按正北方向逆时针旋转角度。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | | granularity | number | | `optional` 指定 polygon 每个纬度和经度之间的距离(以弧度为单位)。 | @@ -179,7 +179,7 @@ | polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性。 | | height | number | `0` | `optional` 指定 polygon 的高度。 | | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | -| vertexFormat | Object | | `optional` 指定 polygon 要缓存的顶点属性。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定 polygon 要缓存的顶点属性。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | | granularity | number | | `optional` 指定 polygon 每个纬度和经度之间的距离(以弧度为单位)。 | | perPositionHeight | boolean | `false` | `optional` 指定 polygon 是否使用每个位置的高度。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md b/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md index 7f43dda4..938758f8 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polyline-volume.md @@ -145,7 +145,7 @@ | shapePositions | Array | | `required` 指定 polyline volume 拉伸的形状数组。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polyline volume 参考椭球体。 | | granularity | number | | `optional` 指定 polyline volume 每个经纬度之间的距离(弧度)。 | -| vertexFormat | Object | | `optional` 指定 polyline volume 顶点属性渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定 polyline volume 顶点属性渲染方式。 | | cornerType | number | | `optional` 指定 polyline volume 转角类型。 **ROUNDED: 0, MITERED: 1, BEVELED: 2** | 0/1/2 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-polyline.md b/website/docs/zh-CN/geometries/vc-geometry-polyline.md index 34c3ec25..6f88cefd 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polyline.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polyline.md @@ -125,7 +125,7 @@ | colorsPerVertex | boolean | `false` | `optional` 指定颜色数组是根据线段数取均值还是通过线段顶点插值。 | | arcType | number | `1` | `optional` 指定线条类型。 **NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位),arcType 不为 0 时有效。 | -| vertexFormat | Object | | `optional` 指定要缓存的顶点属性类型。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定要缓存的顶点属性类型。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-sphere.md b/website/docs/zh-CN/geometries/vc-geometry-sphere.md index 160144d2..4f1315e7 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-sphere.md +++ b/website/docs/zh-CN/geometries/vc-geometry-sphere.md @@ -125,7 +125,7 @@ | radius | number | `1.0` | `optional` 指定球体半径。 | | stackPartitions | number | `0.0` | `optional` 指定将球体横向划分为层的次数。 | | slicePartitions | number | `10` | `optional` 指定将球体纵向划分为片的次数。 | -| vertexFormat | Object | | `optional` 指定椭球体顶点属性渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定椭球体顶点属性渲染方式。 | ### 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-wall.md b/website/docs/zh-CN/geometries/vc-geometry-wall.md index c8464c86..4b7b6cbe 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-wall.md +++ b/website/docs/zh-CN/geometries/vc-geometry-wall.md @@ -128,7 +128,7 @@ | maximumHeights | Array | | `optional` 指定 wall 顶部的高度数组。 | | minimumHeights | Array | | `optional` 指定 wall 底部的高度数组。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | -| vertexFormat | Object | | `optional` 指定顶点属性渲染方式。 | +| vertexFormat | Cesium.VertexFormat | | `optional` 指定顶点属性渲染方式。 | ### 事件 diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index 615d6204..d4f59928 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -156,7 +156,7 @@ | image | string\|Object | | `optional` 指定 billboard 加载的的 Image、 URI 或者 Canvas。 | | pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` 指定 billboard 像素偏移量。 | | pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 billboard 像素偏移量随相机距离改变的参数。| -| position | Object\|Array | | `optional` 指定 billboard 的位置。| +| position | VcPosition\|Array | | `optional` 指定 billboard 的位置。| | rotation | number | `0` | `optional` 指定 billboard 沿 x 轴方向旋转的角度。 | | scale | number | `1.0` | `optional` 指定 billboard 缩放比例。 | | scaleByDistance | Object\|Array | | `optional` 指定 billboard 随缩比例随相机距离改变的参数。| diff --git a/website/docs/zh-CN/primitives/vc-collection-label.md b/website/docs/zh-CN/primitives/vc-collection-label.md index e2d4d2a8..9744c6fe 100644 --- a/website/docs/zh-CN/primitives/vc-collection-label.md +++ b/website/docs/zh-CN/primitives/vc-collection-label.md @@ -178,7 +178,7 @@ | outlineWidth | number | `0` | `optional` 指定 label 的轮廓宽度。 | | pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` 指定 label 像素偏移量。 | | pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 label 像素偏移量随相机距离改变的参数。| -| position | Object | | `optional` 指定 label 的位置。| +| position | VcPosition | | `optional` 指定 label 的位置。| | scale | number | `1.0` | `optional` 指定 label 缩放比例。 | | scaleByDistance | Object\|Array | | `optional` 指定 label 的缩放比例随相机距离改变的参数。| | show | boolean | `true` | `optional` 指定 label 是否显示。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-point.md b/website/docs/zh-CN/primitives/vc-collection-point.md index 73250d96..6ca43d38 100644 --- a/website/docs/zh-CN/primitives/vc-collection-point.md +++ b/website/docs/zh-CN/primitives/vc-collection-point.md @@ -148,7 +148,7 @@ | outlineColor | Object \| Array \| string | `'black'` | `optional` 指定 point 的轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 point 的轮廓宽度。 | | pixelSize | number | `1` | `optional` 指定 point 的像素大小。 | -| position | Object\|Array | | `optional` 指定 point 的位置。 | +| position | VcPosition\|Array | | `optional` 指定 point 的位置。 | | scaleByDistance | Object\|Array | | `optional` 指定 point 缩放比例随相机距离改变的参数。 | | show | boolean | `true` | `optional` 指定 point 是否显示。 | | translucencyByDistance | Object\|Array | | `optional` 指定 point 透明度随相机距离改变的参数。 | diff --git a/website/docs/zh-CN/vc-entity.md b/website/docs/zh-CN/vc-entity.md index 9489d97e..173a16da 100644 --- a/website/docs/zh-CN/vc-entity.md +++ b/website/docs/zh-CN/vc-entity.md @@ -95,7 +95,7 @@ | availability | | | `optional` 指定 entity 关联的可用性参数。 | | show | boolean | `true` | `optional` 指定 entity 及其子项是否显示。 | | description | | | `optional` 指定 entity 的 HTML 描述信息。 | -| position | Object\|Array\|Function | | `optional` 指定 entity 的位置。 | +| position | VcPosition\|Array\|Function | | `optional` 指定 entity 的位置。 | | orientation | | | `optional` 指定 entity 的方向。 | | viewFrom | | | `optional` 指定 entity 的初始偏移量。 | | parent | | | `optional` 指定 entity 关联的父实体。 | From bb75f55ecb8bec399bd76e7f6243d490ba5f0e54 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:37:05 +0800 Subject: [PATCH 03/16] geo center --- website/docs/en-US/geometries/vc-geometry-box.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-circle.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-ellipse.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-frustum.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-instance.md | 2 +- website/docs/en-US/graphics/vc-graphics-plane.md | 2 +- website/docs/en-US/providers/vc-imagery-provider-wmts.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-circle.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-ellipse.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-frustum.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-instance.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-plane.md | 2 +- website/docs/zh-CN/providers/vc-imagery-provider-wmts.md | 2 +- 13 files changed, 20 insertions(+), 20 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-box.md b/website/docs/en-US/geometries/vc-geometry-box.md index 97835489..8e75299a 100644 --- a/website/docs/en-US/geometries/vc-geometry-box.md +++ b/website/docs/en-US/geometries/vc-geometry-box.md @@ -119,7 +119,7 @@ Basic usage of VcGeometryBox component. | Name | Type | Default | Description | | ------------ | ------ | ------- | ----------------------------------------------------------------------------------------------------------- | -| dimensions | Object | | `required` The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3. | +| dimensions | VcPosition | | `required` The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events @@ -140,7 +140,7 @@ Loading a box geometry outline. It is equivalent to initializing a `Cesium.BoxOu | Name | Type | Default | Description | | ---------- | ------ | ------- | ----------------------------------------------------------------------------------------------------------- | -| dimensions | Object | | `required` The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3. | +| dimensions | VcPosition | | `required` The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3. | ### VcGeometryBoxOutline Events diff --git a/website/docs/en-US/geometries/vc-geometry-circle.md b/website/docs/en-US/geometries/vc-geometry-circle.md index 4021233f..3dcec7f5 100644 --- a/website/docs/en-US/geometries/vc-geometry-circle.md +++ b/website/docs/en-US/geometries/vc-geometry-circle.md @@ -115,7 +115,7 @@ Basic usage of VcGeometryCircle component. | Name | Type | Default | Description | | -------------- | ------ | ------- | --------------------------------------------------------------------------------------------------------- | -| center | Object | | `required` The circle's center point in the fixed frame. | +| center | VcPosition | | `required` The circle's center point in the fixed frame. | | radius | number | | `required` The radius in meters. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the circle will be on. | | height | number | `0.0` | `optional` The distance in meters between the circle and the ellipsoid surface. | @@ -142,7 +142,7 @@ Loading the circle geometry outline. It is equivalent to initializing a `Cesium. | Name | Type | Default | Description | | --------------------- | ------ | ------- | ----------------------------------------------------------------------------------------------- | -| center | Object | | `required` The circle's center point in the fixed frame. | +| center | VcPosition | | `required` The circle's center point in the fixed frame. | | radius | number | | `required` The radius in meters. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the circle will be on. | | height | number | `0.0` | `optional` The distance in meters between the circle and the ellipsoid surface. | diff --git a/website/docs/en-US/geometries/vc-geometry-ellipse.md b/website/docs/en-US/geometries/vc-geometry-ellipse.md index 06d1672d..40949c14 100644 --- a/website/docs/en-US/geometries/vc-geometry-ellipse.md +++ b/website/docs/en-US/geometries/vc-geometry-ellipse.md @@ -125,7 +125,7 @@ Basic usage of VcGeometryEllipse component. | Name | Type | Default | Description | | -------------- | -------------- | ------- | ------------------------------------------------------------------------------------------------ | -| center | Object\|Array | | `required` The ellipse's center point in the fixed frame. | +| center | VcPosition\|Array | | `required` The ellipse's center point in the fixed frame. | | semiMajorAxis | number | | `required` The length of the ellipse's semi-major axis in meters. | | semiMinorAxis | number | | `required` The length of the ellipse's semi-minor axis in meters. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the ellipse will be on. | @@ -154,7 +154,7 @@ Loading an ellipse geometry outline. It is equivalent to initializing a `Cesium. | Name | Type | Default | Description | | --------------------- | -------------- | ------- | ------------------------------------------------------------------------------------------------ | -| center | Object | | `required` The ellipse's center point in the fixed frame. | +| center | VcPosition | | `required` The ellipse's center point in the fixed frame. | | semiMajorAxis | number | | `required` The length of the ellipse's semi-major axis in meters. | | semiMinorAxis | number | | `required` The length of the ellipse's semi-minor axis in meters. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid the ellipse will be on. | diff --git a/website/docs/en-US/geometries/vc-geometry-frustum.md b/website/docs/en-US/geometries/vc-geometry-frustum.md index de9adf58..6c3efb1e 100644 --- a/website/docs/en-US/geometries/vc-geometry-frustum.md +++ b/website/docs/en-US/geometries/vc-geometry-frustum.md @@ -134,7 +134,7 @@ Basic usage of the VcGeometryFrustum component. | Name | Type | Default | Description | | ------------ | ------------- | ------- | ------------------------------------------------ | -| frustum | Object | | `optional` The frustum. | +| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` The frustum. | | origin | Object\|Array | | `optional` The origin of the frustum. | | orientation | Object\|Array | | `optional` The orientation of the frustum. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | @@ -157,7 +157,7 @@ Loading a frustum geometry outline. It is equivalent to initializing a `Cesium.F | Name | Type | Default | Description | | ----------- | ------------- | ------- | ------------------------------------------ | -| frustum | Object | | `optional` The frustum. | +| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` The frustum. | | origin | Object\|Array | | `optional` The origin of the frustum. | | orientation | Object\|Array | | `optional` The orientation of the frustum. | diff --git a/website/docs/en-US/geometries/vc-geometry-instance.md b/website/docs/en-US/geometries/vc-geometry-instance.md index 93befa5a..5e7a494c 100644 --- a/website/docs/en-US/geometries/vc-geometry-instance.md +++ b/website/docs/en-US/geometries/vc-geometry-instance.md @@ -160,7 +160,7 @@ Basic usage of geometry instance components. | Name | Type | Default | Description | | ----------- | ------ | ------- | ------------------------------------------------------------------------------------------------------ | -| geometry | Object | | `optional` The geometry to instance. | +| geometry | Cesium.Geometry \| Cesium.GeometryFactory | | `optional` The geometry to instance. | | modelMatrix | Object | | `optional` The model matrix that transforms to transform the geometry from model to world coordinates. | | id | Object | | `optional` A user-defined object to return when the instance is picked with `Scene#pick`. | | attributes | Object | | `optional` Per-instance attributes like a show or color attribute shown in the example below. | diff --git a/website/docs/en-US/graphics/vc-graphics-plane.md b/website/docs/en-US/graphics/vc-graphics-plane.md index c02d327c..92b89081 100644 --- a/website/docs/en-US/graphics/vc-graphics-plane.md +++ b/website/docs/en-US/graphics/vc-graphics-plane.md @@ -87,7 +87,7 @@ Basic usage of the VcGraphicsPlane component. | ---- | ---- | ------- | ----------- | --------------- | | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the plane. | | plane | Object\|Array | | `optional` A Plane Property specifying the normal and distance for the plane. | -| dimensions | Object\|Array | | `optional` A Cartesian2 Property specifying the width and height of the plane. | +| dimensions | VcPosition\|Array | | `optional` A Cartesian2 Property specifying the width and height of the plane. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the plane is filled with the provided material. | | material | Object\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the plane. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the plane is outlined. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-wmts.md b/website/docs/en-US/providers/vc-imagery-provider-wmts.md index d5b0cc5f..38b45d2a 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wmts.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wmts.md @@ -96,7 +96,7 @@ Basic usage of the `vc-imagery-provider-wmts` component. | tileMatrixLabels | Array | | `optional` A list of identifiers in the TileMatrix to use for WMTS requests, one per TileMatrix level. | | clock | Clock | | `optional` A Clock instance that is used when determining the value for the time dimension. Required when options.times is specified. | | times | TimeIntervalCollection | | `optional` TimeIntervalCollection with its data property being an object containing time dynamic dimension and their values. | -| dimensions | Object | | `optional` A object containing static dimensions and their values. | +| dimensions | VcPosition | | `optional` A object containing static dimensions and their values. | | tileWidth | number | `256` | `optional` The tile width in pixels. | | tileHeight | number | `256` | `optional` The tile height in pixels. | | tilingScheme | TilingScheme | | `optional` The tiling scheme corresponding to the organization of the tiles in the TileMatrixSet. | diff --git a/website/docs/zh-CN/geometries/vc-geometry-circle.md b/website/docs/zh-CN/geometries/vc-geometry-circle.md index ca010f39..974b04dc 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-circle.md +++ b/website/docs/zh-CN/geometries/vc-geometry-circle.md @@ -115,7 +115,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | -------------- | ------ | ------ | ------------------------------------------------------------------------ | -| center | Object | | `required` 指定圆形中心点。 | +| center | VcPosition | | `required` 指定圆形中心点。 | | radius | number | | `required` 指定圆形半径。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定圆形参考椭球体。 | | height | number | `0.0` | `optional` 指定圆形离地表的高度(米)。 | @@ -142,7 +142,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | --------------------- | ------ | ------ | ----------------------------------------------------- | -| center | Object | | `required` 指定圆形中心点。 | +| center | VcPosition | | `required` 指定圆形中心点。 | | radius | number | | `required` 指定圆形半径。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定圆形参考椭球体。 | | height | number | `0.0` | `optional` 指定圆形离地表的高度(米)。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-ellipse.md b/website/docs/zh-CN/geometries/vc-geometry-ellipse.md index 38f79822..5932f51d 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-ellipse.md +++ b/website/docs/zh-CN/geometries/vc-geometry-ellipse.md @@ -125,7 +125,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | -------------- | ------------- | ------ | --------------------------------------------------- | -| center | Object\|Array | | `required` 指定椭圆的中心位置。 | +| center | VcPosition\|Array | | `required` 指定椭圆的中心位置。 | | semiMajorAxis | number | | `required` 指定椭圆的长半轴长度,单位是米。 | | semiMinorAxis | number | | `required` 指定椭圆的短半轴长度,单位是米。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定椭圆的参考椭球体。 | @@ -154,7 +154,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | --------------------- | ------------- | ------ | --------------------------------------------------- | -| center | Object\|Array | | `required` 指定椭圆的中心位置。 | +| center | VcPosition\|Array | | `required` 指定椭圆的中心位置。 | | semiMajorAxis | number | | `required` 指定椭圆的长半轴长度,单位是米。 | | semiMinorAxis | number | | `required` 指定椭圆的短半轴长度,单位是米。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定椭圆的参考椭球体。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-frustum.md b/website/docs/zh-CN/geometries/vc-geometry-frustum.md index 0002d169..477bb6df 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-frustum.md +++ b/website/docs/zh-CN/geometries/vc-geometry-frustum.md @@ -134,7 +134,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------------ | ------------- | ------ | ----------------------------------- | -| frustum | Object | | `optional` 指定视锥体参数。 | +| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` 指定视锥体参数。 | | origin | Object\|Array | | `optional` 指定视锥体原点。 | | orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 | | vertexFormat | Cesium.VertexFormat | | `optional` 指定视锥体顶点渲染方式。 | @@ -157,7 +157,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ----------- | ------------- | ------ | ------------------------------- | -| frustum | Object | | `optional` 指定视锥体参数。 | +| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` 指定视锥体参数。 | | origin | Object\|Array | | `optional` 指定视锥体原点。 | | orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-instance.md b/website/docs/zh-CN/geometries/vc-geometry-instance.md index 30bddadf..5cdfc5bb 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-instance.md +++ b/website/docs/zh-CN/geometries/vc-geometry-instance.md @@ -160,7 +160,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ----------- | ------ | ------ | -------------------------------------------------------------------------------------------------------------- | -| geometry | Object | | `required` 指定 geometry。 | +| geometry | Cesium.Geometry \| Cesium.GeometryFactory | | `required` 指定 geometry。 | | modelMatrix | Object | | `optional` 指定将几何图形从模型坐标转换为世界坐标的模型矩阵。 | | id | \* | | `optional` 指定与 geometry 关联的信息,拾取时或者 Primitive#getGeometryInstanceAttributes 方法将返回该属性值。 | | attributes | Object | | `optional` 指定每个实例的属性。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-plane.md b/website/docs/zh-CN/graphics/vc-graphics-plane.md index 8bfc67e6..a9463841 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-plane.md +++ b/website/docs/zh-CN/graphics/vc-graphics-plane.md @@ -87,7 +87,7 @@ | --- | -------- | ------ | -------- | --- | | show | boolean | `true` | `optional` 指定 plane 是否显示。 | | plane | Object\|Array | | `optional` 指定 plane 的法线和距离。 | -| dimensions | Object\|Array | | `optional` 指定 plane 的宽和高。 | +| dimensions | VcPosition\|Array | | `optional` 指定 plane 的宽和高。 | | fill | boolean | `true` | `optional` 指定 plane 是否填充材质。 | | material | Object\|string\|Array | `'WHITE'` | `optional` 指定 plane 的材质。 | | outline | boolean | `false` | `optional` 指定 plane 是否绘制轮廓线。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md b/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md index e0a88793..022c6066 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md @@ -95,7 +95,7 @@ | tileMatrixLabels | Array | | `optional` 指定 TileMatrix 中用于 WMTS 请求的标识符列表,每个 TileMatrix 级别一个。 | | clock | Clock | | `optional` 确定时间维度值时使用的 Clock 实例。 指定 options.times 时必需。 | | times | TimeIntervalCollection | | `optional` TimeIntervalCollection,其 data 属性是一个包含时间动态维度及其值的对象。 | -| dimensions | Object | | `optional` 指定包含静态尺寸及其值的对象。 | +| dimensions | VcPosition | | `optional` 指定包含静态尺寸及其值的对象。 | | tileWidth | number | `256` | `optional` 像元宽度。 | | tileHeight | number | `256` | `optional` 像元高度。 | | tilingScheme | TilingScheme | | `optional` 指定切片方案。 | From 5a8ed562e0dcad61a8ce5fcc16cf4ae2c0b4c288 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:38:45 +0800 Subject: [PATCH 04/16] matrics --- website/docs/en-US/geometries/vc-geometry-instance.md | 2 +- website/docs/en-US/primitives/vc-collection-billboard.md | 2 +- website/docs/en-US/primitives/vc-collection-label.md | 2 +- website/docs/en-US/primitives/vc-collection-point.md | 2 +- website/docs/en-US/primitives/vc-collection-polyline.md | 2 +- website/docs/en-US/primitives/vc-primitive-model.md | 2 +- website/docs/en-US/primitives/vc-primitive-particle.md | 2 +- website/docs/en-US/primitives/vc-primitive-tileset.md | 2 +- website/docs/en-US/primitives/vc-primitive.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-instance.md | 2 +- website/docs/zh-CN/primitives/vc-collection-billboard.md | 2 +- website/docs/zh-CN/primitives/vc-collection-label.md | 2 +- website/docs/zh-CN/primitives/vc-collection-point.md | 2 +- website/docs/zh-CN/primitives/vc-collection-polyline.md | 2 +- website/docs/zh-CN/primitives/vc-primitive-model.md | 2 +- website/docs/zh-CN/primitives/vc-primitive-particle.md | 2 +- website/docs/zh-CN/primitives/vc-primitive-tileset.md | 2 +- website/docs/zh-CN/primitives/vc-primitive.md | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-instance.md b/website/docs/en-US/geometries/vc-geometry-instance.md index 5e7a494c..bf8514c4 100644 --- a/website/docs/en-US/geometries/vc-geometry-instance.md +++ b/website/docs/en-US/geometries/vc-geometry-instance.md @@ -161,7 +161,7 @@ Basic usage of geometry instance components. | Name | Type | Default | Description | | ----------- | ------ | ------- | ------------------------------------------------------------------------------------------------------ | | geometry | Cesium.Geometry \| Cesium.GeometryFactory | | `optional` The geometry to instance. | -| modelMatrix | Object | | `optional` The model matrix that transforms to transform the geometry from model to world coordinates. | +| modelMatrix | Cesium.Matrix4 | | `optional` The model matrix that transforms to transform the geometry from model to world coordinates. | | id | Object | | `optional` A user-defined object to return when the instance is picked with `Scene#pick`. | | attributes | Object | | `optional` Per-instance attributes like a show or color attribute shown in the example below. | diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index b32443ed..2b2ff44d 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -104,7 +104,7 @@ Basic usage of VcCollectionBillboard component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| modelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | +| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Determines if this primitive's commands' bounding spheres are shown. | | scene | Object | | `optional` Must be passed in for billboards that use the height reference property or will be depth tested against the globe. | | blendOption | number | | `optional` The billboard blending option. The default is used for rendering both opaque and translucent billboards. However, if either all of the billboards are completely opaque or all are completely translucent, setting the technique to BlendOption.OPAQUE or BlendOption.TRANSLUCENT can improve performance by up to 2x. **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2**|0/1/2| diff --git a/website/docs/en-US/primitives/vc-collection-label.md b/website/docs/en-US/primitives/vc-collection-label.md index e0850eca..c619a6ca 100644 --- a/website/docs/en-US/primitives/vc-collection-label.md +++ b/website/docs/en-US/primitives/vc-collection-label.md @@ -124,7 +124,7 @@ Basic usage of VcCollectionLabel component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| modelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | +| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Determines if this primitive's commands' bounding spheres are shown. | | scene | Object | | `optional` Must be passed in for billboards that use the height reference property or will be depth tested against the globe. | | blendOption | number | | `optional` The billboard blending option. The default is used for rendering both opaque and translucent billboards. However, if either all of the billboards are completely opaque or all are completely translucent, setting the technique to BlendOption.OPAQUE or BlendOption.TRANSLUCENT can improve performance by up to 2x. **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2**|0/1/2| diff --git a/website/docs/en-US/primitives/vc-collection-point.md b/website/docs/en-US/primitives/vc-collection-point.md index 6911742d..d53567d8 100644 --- a/website/docs/en-US/primitives/vc-collection-point.md +++ b/website/docs/en-US/primitives/vc-collection-point.md @@ -102,7 +102,7 @@ Basic usage of VcCollectionPoint component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| modelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | +| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Determines if this primitive's commands' bounding spheres are shown. | | blendOption | number | | `optional` The billboard blending option. The default is used for rendering both opaque and translucent billboards. However, if either all of the billboards are completely opaque or all are completely translucent, setting the technique to BlendOption.OPAQUE or BlendOption.TRANSLUCENT can improve performance by up to 2x. **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2**|0/1/2| | show | boolean | `true` | `optional` Determines if the primitives in the collection will be shown. | diff --git a/website/docs/en-US/primitives/vc-collection-polyline.md b/website/docs/en-US/primitives/vc-collection-polyline.md index de2ad1eb..0c53a95c 100644 --- a/website/docs/en-US/primitives/vc-collection-polyline.md +++ b/website/docs/en-US/primitives/vc-collection-polyline.md @@ -111,7 +111,7 @@ Basic usage of VcCollectionPolyline component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| modelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | +| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Determines if this primitive's commands' bounding spheres are shown. | | show | boolean | `true` | `optional` Determines if the primitives in the collection will be shown. | | polylines | Array | `[]` | `optional` Specify an array of polylines collections. The structure of the array object is the same as the attribute of the `vc-point` component. | diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index d41c8791..c4117aac 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -117,7 +117,7 @@ Basic usage of VcPrimitiveGround component. | url | string | | `required` The url to the .gltf file. | | basePath | string | | `optional` The base path that paths in the glTF JSON are relative to. | | show | boolean | `true` | `optional` Determines if the model primitive will be shown. | -| modelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms the model from model to world coordinates. | +| modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms the model from model to world coordinates. | | scale | number | `1.0` | `optional` A uniform scale applied to this model. | | minimumPixelSize | number | `0.0` | `optional` The approximate minimum pixel size of the model regardless of zoom. | | maximumScale | number | | `optional` The maximum scale for the model. | diff --git a/website/docs/en-US/primitives/vc-primitive-particle.md b/website/docs/en-US/primitives/vc-primitive-particle.md index 21749827..658527ea 100644 --- a/website/docs/en-US/primitives/vc-primitive-particle.md +++ b/website/docs/en-US/primitives/vc-primitive-particle.md @@ -222,7 +222,7 @@ 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. | -| modelMatrix | Object | | `optional` The 4x4 transformation matrix that transforms the particle system from model to world coordinates. | +| 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. | | 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.| diff --git a/website/docs/en-US/primitives/vc-primitive-tileset.md b/website/docs/en-US/primitives/vc-primitive-tileset.md index 5a74a8b5..8f2c8786 100644 --- a/website/docs/en-US/primitives/vc-primitive-tileset.md +++ b/website/docs/en-US/primitives/vc-primitive-tileset.md @@ -63,7 +63,7 @@ Basic usage of VcPrimitiveTileset component. | ---- | ---- | ------- | ----------- | --------------- | | url | string | | `required` The url to a tileset JSON file. | | show | boolean | `true` | `optional` Determines if the tileset will be shown. | -| modelMatrix | Object | `Matrix4.IDENTITY` | `optional` A 4x4 transformation matrix that transforms the tileset's root tile. | +| modelMatrix | Cesium.Matrix4 | `Matrix4.IDENTITY` | `optional` A 4x4 transformation matrix that transforms the tileset's root tile. | | shadows | number | `1` | `optional` Determines whether the tileset casts or receives shadows from light sources. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| | maximumScreenSpaceError | number | `16` | `optional` The maximum screen space error used to drive level of detail refinement. | | maximumMemoryUsage | number | `512` | `optional` The maximum amount of memory in MB that can be used by the tileset. | diff --git a/website/docs/en-US/primitives/vc-primitive.md b/website/docs/en-US/primitives/vc-primitive.md index d5c92856..304c156f 100644 --- a/website/docs/en-US/primitives/vc-primitive.md +++ b/website/docs/en-US/primitives/vc-primitive.md @@ -75,7 +75,7 @@ Basic usage of VcPrimitive component. | appearance | Object | | `optional` The appearance used to render the primitive. | | depthFailAppearance | Object | | `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 | Object | | `optional` The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates. | +| 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. | | interleave | boolean | `false` | `optional` When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. | | compressVertices | boolean | `true` | `optional` When true, the geometry vertices are compressed, which will save memory. | diff --git a/website/docs/zh-CN/geometries/vc-geometry-instance.md b/website/docs/zh-CN/geometries/vc-geometry-instance.md index 5cdfc5bb..a78737ec 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-instance.md +++ b/website/docs/zh-CN/geometries/vc-geometry-instance.md @@ -161,7 +161,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ----------- | ------ | ------ | -------------------------------------------------------------------------------------------------------------- | | geometry | Cesium.Geometry \| Cesium.GeometryFactory | | `required` 指定 geometry。 | -| modelMatrix | Object | | `optional` 指定将几何图形从模型坐标转换为世界坐标的模型矩阵。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定将几何图形从模型坐标转换为世界坐标的模型矩阵。 | | id | \* | | `optional` 指定与 geometry 关联的信息,拾取时或者 Primitive#getGeometryInstanceAttributes 方法将返回该属性值。 | | attributes | Object | | `optional` 指定每个实例的属性。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index d4f59928..a2d9267e 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -103,7 +103,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----------------------- | ------- | ------- | -------------------------------------------------------------------------------------- | ------ | -| modelMatrix | Object | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | | debugShowBoundingVolume | boolean | `false` | `optional` 指定是否显示此图元的 BoundingVolume, 仅调试使用。 | | blendOption | number | `2` | `optional` 指定颜色混合选项。 **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2** | 0/1/2 | | scene | Object | | `optional` 指定场景参数,使用深度检测或者高度参考时必须传该属性。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-label.md b/website/docs/zh-CN/primitives/vc-collection-label.md index 9744c6fe..62720fe2 100644 --- a/website/docs/zh-CN/primitives/vc-collection-label.md +++ b/website/docs/zh-CN/primitives/vc-collection-label.md @@ -123,7 +123,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----------------------- | ------- | ------- | -------------------------------------------------------------------------------------- | ------ | -| modelMatrix | Object | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | | debugShowBoundingVolume | boolean | `false` | `optional` 指定是否显示此图元的 BoundingVolume, 仅调试使用。 | | blendOption | number | `2` | `optional` 指定颜色混合选项。 **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2** | 0/1/2 | | scene | Object | | `optional` 指定场景参数,使用深度检测或者高度参考时必须传该属性。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-point.md b/website/docs/zh-CN/primitives/vc-collection-point.md index 6ca43d38..97d5835f 100644 --- a/website/docs/zh-CN/primitives/vc-collection-point.md +++ b/website/docs/zh-CN/primitives/vc-collection-point.md @@ -102,7 +102,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----------------------- | ------- | ------- | -------------------------------------------------------------------------------------- | ------ | -| modelMatrix | Object | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | | debugShowBoundingVolume | boolean | `false` | `optional` 指定是否显示此图元的 BoundingVolume, 仅调试使用。 | | blendOption | number | `2` | `optional` 指定颜色混合选项。 **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2** | 0/1/2 | | show | boolean | `true` | `optional` 指定该图元集合是否显示。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-polyline.md b/website/docs/zh-CN/primitives/vc-collection-polyline.md index 2f4b8056..2faeffd0 100644 --- a/website/docs/zh-CN/primitives/vc-collection-polyline.md +++ b/website/docs/zh-CN/primitives/vc-collection-polyline.md @@ -110,7 +110,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ----------------------- | ------- | ------- | ----------------------------------------------------------------------- | -| modelMatrix | Object | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | | debugShowBoundingVolume | boolean | `false` | `optional` 指定是否显示此图元的 BoundingVolume, 仅调试使用。 | | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | | polylines | Array | `[]` | `optional` 指定点集合数组。 数组对象结构与 `vc-polyline` 组件属性相同。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index 0ae2fa3e..e4647af2 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -113,7 +113,7 @@ | url | string | | `required` 指定 gltf 文件的 url 地址。 | | basePath | string | | `optional` 指定 glTF JSON 中 url 的相对路径。 | | show | boolean | `true` | `optional` 指定 model 图元是否显示。 | -| modelMatrix | Object | | `optional` 指定将模型从模型坐标转换为世界坐标的 4x4 矩阵。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定将模型从模型坐标转换为世界坐标的 4x4 矩阵。 | | scale | number | `1.0` | `optional` 指定 model 缩放比例。 | | minimumPixelSize | number | `0.0` | `optional` 指定 model 的最小像素。 | | maximumScale | number | | `optional` 指定 model 最大像素。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-particle.md b/website/docs/zh-CN/primitives/vc-primitive-particle.md index d902d239..4bb74239 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-particle.md +++ b/website/docs/zh-CN/primitives/vc-primitive-particle.md @@ -222,7 +222,7 @@ | show | boolean | true | `optional` 是否显示粒子。 | | updateCallback | Function | | `optional` 更新回调函数。| | emitter | Object | | `optional` 粒子触发器类型。 | -| modelMatrix | Object | | `optional` 4x4转换矩阵,可将粒子系统从模型转换为世界坐标。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 4x4转换矩阵,可将粒子系统从模型转换为世界坐标。 | | emitterModelMatrix | Object | | `optional` 4x4转换矩阵,用于转换粒子系统局部坐标系内的粒子系统发射器。 | | emissionRate | number | `5` | `optional` 每秒要发射的粒子数。 | | bursts | Array | `false` | `optional` ParticleBurst 数组,在周期性时间发射粒子。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-tileset.md b/website/docs/zh-CN/primitives/vc-primitive-tileset.md index 22a3f489..51d6271b 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-tileset.md +++ b/website/docs/zh-CN/primitives/vc-primitive-tileset.md @@ -67,7 +67,7 @@ | ------ | ---- | ------ | ---- |---| | url | string | | `required` 指定 tileset JSON 文件地址。 | | show | boolean | `true` | `optional` 是否显示 tileset 模型。 | -| modelMatrix | Object | `Matrix4.IDENTITY` | `optional` 一个 4x4 变换矩阵,用于转换 tileset 的根块。 | +| modelMatrix | Cesium.Matrix4 | `Matrix4.IDENTITY` | `optional` 一个 4x4 变换矩阵,用于转换 tileset 的根块。 | | shadows | number | `1` | `optional` 确定 tileset 是否投射或接收来自每个光源的阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| | maximumScreenSpaceError | number | `16` | `optional` 用于驱动细节细化级别的最大屏幕空间错误。 | | maximumMemoryUsage | number | `512` | `optional` tileset 可以使用的最大内存量(MB)。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive.md b/website/docs/zh-CN/primitives/vc-primitive.md index c5720737..3dc58d24 100644 --- a/website/docs/zh-CN/primitives/vc-primitive.md +++ b/website/docs/zh-CN/primitives/vc-primitive.md @@ -75,7 +75,7 @@ | appearance | Object | | `optional` 指定图元的外观参数。 | | depthFailAppearance | Object | | `optional` 指定图元在深度测试失败后的外观。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | -| modelMatrix | Object | | `optional` 指定图元从模型坐标转换为世界坐标的 4 x 4 矩阵。 | +| modelMatrix | Cesium.Matrix4 | | `optional` 指定图元从模型坐标转换为世界坐标的 4 x 4 矩阵。 | | vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 | | interleave | boolean | `false` | `optional` 指定是否交错几何体顶点属性,true 时可以稍微改善渲染性能,但会增加加载时间。 | | compressVertices | boolean | `true` | `optional` 指定是否压缩几何体顶点,压缩可以以节省内存。 | From dc1bc8ad3e38456fb0826e137f1ee47e852bad71 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:45:00 +0800 Subject: [PATCH 05/16] VcDistanceDisplayCondition --- website/docs/en-US/geometries/vc-geometry-instance.md | 6 +++--- website/docs/en-US/graphics/vc-graphics-cylinder.md | 2 +- website/docs/en-US/graphics/vc-graphics-ellipse.md | 2 +- website/docs/en-US/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/en-US/graphics/vc-graphics-label.md | 2 +- website/docs/en-US/graphics/vc-graphics-model.md | 2 +- website/docs/en-US/graphics/vc-graphics-path.md | 2 +- website/docs/en-US/graphics/vc-graphics-plane.md | 2 +- website/docs/en-US/graphics/vc-graphics-point.md | 2 +- website/docs/en-US/graphics/vc-graphics-polygon.md | 2 +- website/docs/en-US/graphics/vc-graphics-polyline-volume.md | 2 +- website/docs/en-US/graphics/vc-graphics-polyline.md | 2 +- website/docs/en-US/graphics/vc-graphics-rectangle.md | 2 +- website/docs/en-US/graphics/vc-graphics-wall.md | 2 +- website/docs/en-US/primitives/vc-collection-billboard.md | 2 +- website/docs/en-US/primitives/vc-collection-label.md | 2 +- website/docs/en-US/primitives/vc-collection-point.md | 2 +- website/docs/en-US/primitives/vc-collection-polyline.md | 4 ++-- website/docs/en-US/primitives/vc-primitive-model.md | 2 +- website/docs/zh-CN/geometries/vc-geometry-instance.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-cylinder.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-ellipse.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-label.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-model.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-path.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-plane.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-point.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polygon.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polyline.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-rectangle.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-wall.md | 2 +- website/docs/zh-CN/primitives/vc-collection-billboard.md | 2 +- website/docs/zh-CN/primitives/vc-collection-label.md | 2 +- website/docs/zh-CN/primitives/vc-collection-point.md | 2 +- website/docs/zh-CN/primitives/vc-collection-polyline.md | 4 ++-- website/docs/zh-CN/primitives/vc-primitive-model.md | 2 +- 38 files changed, 42 insertions(+), 42 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-instance.md b/website/docs/en-US/geometries/vc-geometry-instance.md index bf8514c4..2a60d79d 100644 --- a/website/docs/en-US/geometries/vc-geometry-instance.md +++ b/website/docs/en-US/geometries/vc-geometry-instance.md @@ -162,8 +162,8 @@ Basic usage of geometry instance components. | ----------- | ------ | ------- | ------------------------------------------------------------------------------------------------------ | | geometry | Cesium.Geometry \| Cesium.GeometryFactory | | `optional` The geometry to instance. | | modelMatrix | Cesium.Matrix4 | | `optional` The model matrix that transforms to transform the geometry from model to world coordinates. | -| id | Object | | `optional` A user-defined object to return when the instance is picked with `Scene#pick`. | -| attributes | Object | | `optional` Per-instance attributes like a show or color attribute shown in the example below. | +| id | any | | `optional` A user-defined object to return when the instance is picked with `Scene#pick`. | +| attributes | any | | `optional` Per-instance attributes like a show or color attribute shown in the example below. | ### Events @@ -180,7 +180,7 @@ Basic usage of geometry instance components. | load | () => Promise\ | Load components manually. | | reload | () => Promise\ | Reload components manually. | | unload | () => Promise\ | Destroy the loaded component manually. | -| getCreatingPromise | () => Promise | Get the creatingPromise. | +| getCreatingPromise | () => Promise\ | Get the creatingPromise. | | getCesiumObject | () => VcCesiumObject | Get the Cesium object loaded by this component. | ### Slots diff --git a/website/docs/en-US/graphics/vc-graphics-cylinder.md b/website/docs/en-US/graphics/vc-graphics-cylinder.md index 3ed4e3af..090873f0 100644 --- a/website/docs/en-US/graphics/vc-graphics-cylinder.md +++ b/website/docs/en-US/graphics/vc-graphics-cylinder.md @@ -88,7 +88,7 @@ Basic usage of the VcGraphicsCylinder component. | numberOfVerticalLines | number | `16` | `optional` A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline. | | slices | number | `128` | `optional` The number of edges around the perimeter of the cylinder. | | shadows | number | `0` | `optional` An enum Property specifying whether the cylinder casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this cylinder will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this cylinder will be displayed. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-ellipse.md b/website/docs/en-US/graphics/vc-graphics-ellipse.md index e552ad6f..79eb2999 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipse.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipse.md @@ -103,7 +103,7 @@ Basic usage of the VcGraphicsEllipse component. | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | numberOfVerticalLines | number | `16` | `optional` A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the ellipse casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object | | `optional` A Property specifying at what distance from the camera that this ellipse will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition | | `optional` A Property specifying at what distance from the camera that this ellipse will be displayed. | | classificationType | number | `2` | `optional` An enum Property specifying whether this ellipse will classify terrain, 3D Tiles, or both when on the ground. **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| | zIndex | number | | `optional` A property specifying the zIndex of the Ellipse. Used for ordering ground geometry. Only has an effect if the ellipse is constant and neither height or exturdedHeight are specified. | diff --git a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md index f839a568..7520b672 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md @@ -97,7 +97,7 @@ Basic usage of the VcGraphicsEllipsoid component. | slicePartitions | number | `64` | `optional` A Property specifying the number of radial slices. | | subdivisions | number | `128` | `optional` A Property specifying the number of samples per outline ring, determining the granularity of the curvature. | | shadows | number | `0` | `optional` An enum Property specifying whether the ellipsoid casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this ellipsoid will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this ellipsoid will be displayed. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-label.md b/website/docs/en-US/graphics/vc-graphics-label.md index 498c9168..2eb632c5 100644 --- a/website/docs/en-US/graphics/vc-graphics-label.md +++ b/website/docs/en-US/graphics/vc-graphics-label.md @@ -66,7 +66,7 @@ Basic usage of the VcGraphicsLabel component. | translucencyByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | | pixelOffsetScaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera. | | scaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set scale based on distance from the camera. | -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this label will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this label will be displayed. | | disableDepthTestDistance | number | | `optional` A Property specifying the distance from the camera at which to disable the depth test to. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-model.md b/website/docs/en-US/graphics/vc-graphics-model.md index a32beba2..1d41f12b 100644 --- a/website/docs/en-US/graphics/vc-graphics-model.md +++ b/website/docs/en-US/graphics/vc-graphics-model.md @@ -75,7 +75,7 @@ Basic usage of the VcGraphicsModel component. | colorBlendAmount | number | `0.5` | `optional` A numeric Property specifying the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | | imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` A property specifying the contribution from diffuse and specular image-based lighting. | | lightColor | Object\|string\|Array | | `optional` A property specifying the light color to use when shading the model. The default sun light color will be used when undefined. | -| distanceDisplayCondition | Object\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera.A Property specifying at what distance from the camera that this model will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera.A Property specifying at what distance from the camera that this model will be displayed. | | nodeTransformations | Object | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. | | articulations | Object | | `optional` An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties. | | clippingPlanes | Object | | `optional` A property specifying the ClippingPlaneCollection used to selectively disable rendering the model. | diff --git a/website/docs/en-US/graphics/vc-graphics-path.md b/website/docs/en-US/graphics/vc-graphics-path.md index 58a48742..e7a9a62c 100644 --- a/website/docs/en-US/graphics/vc-graphics-path.md +++ b/website/docs/en-US/graphics/vc-graphics-path.md @@ -150,7 +150,7 @@ Basic usage of the VcGraphicsPath component. | width | number | `1.0` | `optional` A numeric Property specifying the width in pixels. | | resolution | number | `60` | `optional` A numeric Property specifying the maximum number of seconds to step when sampling the position. | | material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the path. | -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this path will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this path will be displayed. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-plane.md b/website/docs/en-US/graphics/vc-graphics-plane.md index 92b89081..d90dc65d 100644 --- a/website/docs/en-US/graphics/vc-graphics-plane.md +++ b/website/docs/en-US/graphics/vc-graphics-plane.md @@ -94,7 +94,7 @@ Basic usage of the VcGraphicsPlane component. | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the plane casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this plane will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this plane will be displayed. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-point.md b/website/docs/en-US/graphics/vc-graphics-point.md index 3476e543..7b7af343 100644 --- a/website/docs/en-US/graphics/vc-graphics-point.md +++ b/website/docs/en-US/graphics/vc-graphics-point.md @@ -74,7 +74,7 @@ Basic usage of the VcGraphicsPoint component. | outlineWidth | number | `0` | `optional` A numeric Property specifying the the outline width in pixels. | | scaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to scale the point based on distance. | | translucencyByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this point will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this point will be displayed. | | disableDepthTestDistance | number | | `optional` A Property specifying the distance from the camera at which to disable the depth test to. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-polygon.md b/website/docs/en-US/graphics/vc-graphics-polygon.md index 5b9779cf..c8d3d01f 100644 --- a/website/docs/en-US/graphics/vc-graphics-polygon.md +++ b/website/docs/en-US/graphics/vc-graphics-polygon.md @@ -174,7 +174,7 @@ Basic usage of VcGraphicsPolygon component. | closeBottom | boolean | `true` | `optional` When false, leaves off the bottom of an extruded polygon open. | | arcType | number | `1` | `optional` The type of line the polygon edges must follow. **NONE: 0, GEODESIC: 1, RHUMB: 2** |0/1/2| | shadows | number | `0` | `optional` An enum Property specifying whether the polygon casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this polygon will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this polygon will be displayed. | | classificationType | number | `2` | `optional` An enum Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground. **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| | zIndex | number | `0` | `optional` A property specifying the zIndex used for ordering ground geometry. Only has an effect if the polygon is constant and neither height or extrudedHeight are specified. | diff --git a/website/docs/en-US/graphics/vc-graphics-polyline-volume.md b/website/docs/en-US/graphics/vc-graphics-polyline-volume.md index 3c90cbc9..cc45a1ee 100644 --- a/website/docs/en-US/graphics/vc-graphics-polyline-volume.md +++ b/website/docs/en-US/graphics/vc-graphics-polyline-volume.md @@ -122,7 +122,7 @@ Basic usage of the VcGraphicsPolylineVolume component. | outlineColor | Object\|string\|Array | | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | | `optional` An enum Property specifying whether the box casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this volume will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this volume will be displayed. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-polyline.md b/website/docs/en-US/graphics/vc-graphics-polyline.md index fdefe01d..9ff1f50e 100644 --- a/website/docs/en-US/graphics/vc-graphics-polyline.md +++ b/website/docs/en-US/graphics/vc-graphics-polyline.md @@ -79,7 +79,7 @@ Basic usage of VcGraphicsPolyline component. | clampToGround | boolean | `false` | `optional` A boolean Property specifying whether the Polyline should be clamped to the ground. | | shadows | number | | `optional` An enum Property specifying whether the polyline casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | classificationType | number | `2` | `optional` An enum Property specifying whether this polyline will classify terrain, 3D Tiles, or both when on the ground. **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this polyline will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this polyline will be displayed. | | zIndex | number | `0` | `optional` A Property specifying the zIndex used for ordering ground geometry. Only has an effect if `clampToGround` is true and polylines on terrain is supported. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-rectangle.md b/website/docs/en-US/graphics/vc-graphics-rectangle.md index 90ac8101..e4c45e4c 100644 --- a/website/docs/en-US/graphics/vc-graphics-rectangle.md +++ b/website/docs/en-US/graphics/vc-graphics-rectangle.md @@ -107,7 +107,7 @@ Basic usage of VcGraphicsRectangle component. | outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the rectangle casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this box will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this box will be displayed. | | classificationType | number | `2` | `optional` An enum Property specifying whether this rectangle will classify terrain, 3D Tiles, or both when on the ground. **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| | zIndex | number | `0` | `optional` A Property specifying the zIndex used for ordering ground geometry. Only has an effect if the rectangle is constant and neither height or extrudedHeight are specified. | diff --git a/website/docs/en-US/graphics/vc-graphics-wall.md b/website/docs/en-US/graphics/vc-graphics-wall.md index cc623909..d6f95874 100644 --- a/website/docs/en-US/graphics/vc-graphics-wall.md +++ b/website/docs/en-US/graphics/vc-graphics-wall.md @@ -95,7 +95,7 @@ Basic usage of the VcGraphicsWall component. | outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the wall casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` A Property specifying at what distance from the camera that this wall will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this wall will be displayed. | ### Events diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index 2b2ff44d..df2405fd 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -149,7 +149,7 @@ Loading a viewport-aligned image positioned in the 3D scene. It is equivalent to | alignedAxis | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` The aligned axis in world space. The aligned axis is the unit vector that the billboard up vector points towards. The default is the zero vector, which means the billboard is aligned to the screen up vector. | | color | Object\|string\|Array | `'white'` | `optional` The color that is multiplied with the billboard's texture. | | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | -| distanceDisplayCondition | Object\|Array | | `optional` The condition specifying at what distance from the camera that this billboard will be displayed.| +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this billboard will be displayed.| | eyeOffset | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` The 3D Cartesian offset applied to this billboard in eye coordinates.| | height | number | | `optional` The height for the billboard. If undefined, the image height will be used. | | heightReference | number | `0` | `optional` The height reference of this billboard. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| diff --git a/website/docs/en-US/primitives/vc-collection-label.md b/website/docs/en-US/primitives/vc-collection-label.md index c619a6ca..a0e45382 100644 --- a/website/docs/en-US/primitives/vc-collection-label.md +++ b/website/docs/en-US/primitives/vc-collection-label.md @@ -169,7 +169,7 @@ Loading a viewport-aligned text positioned in the 3D scene. It is equivalent to | backgroundColor | Object\|Array\|string | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` The background color of this label. | | backgroundPadding | Object\|Array | | `optional` The background padding, in pixels, of this label.| | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | -| distanceDisplayCondition | Object\|Array | | `optional` The condition specifying at what distance from the camera that this label will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this label will be displayed. | | eyeOffset | Object\Array | `{x: 0, y: 0, z: 0}` | `optional` The 3D Cartesian offset applied to this label in eye coordinates.| | fillColor | Object\|string\|Array | `white` | `optional` The fill color of this label. | | font | string | `'30px sans-serif'` | `optional` The font used to draw this label. Fonts are specified using the same syntax as the CSS 'font' property. | diff --git a/website/docs/en-US/primitives/vc-collection-point.md b/website/docs/en-US/primitives/vc-collection-point.md index d53567d8..fcaa951c 100644 --- a/website/docs/en-US/primitives/vc-collection-point.md +++ b/website/docs/en-US/primitives/vc-collection-point.md @@ -145,7 +145,7 @@ Loading a graphical point positioned in the 3D scene. It is equivalent to initia | ---- | ---- | ------- | ----------- | | color | Object\|Array\|string | `'white'` | `optional` The inner color of the point. | | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | -| distanceDisplayCondition | Object\|Array | | `optional` The condition specifying at what distance from the camera that this point will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this point will be displayed. | | id | \* | | `optional` The user-defined value returned when the point is picked. | | outlineColor | Object \| Array \| string | `'black'` | `optional` The outline color of the point. | | outlineWidth | number | `0` | `optional`The outline width in pixels. This width adds to pixelSize, increasing the total size of the point. | diff --git a/website/docs/en-US/primitives/vc-collection-polyline.md b/website/docs/en-US/primitives/vc-collection-polyline.md index 0c53a95c..b9351705 100644 --- a/website/docs/en-US/primitives/vc-collection-polyline.md +++ b/website/docs/en-US/primitives/vc-collection-polyline.md @@ -151,8 +151,8 @@ Loading a renderable polyline. It is equivalent to initializing a `Cesium.Polyli | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| distanceDisplayCondition | Object\|Array | | `optional` The condition specifying at what distance from the camera that this polyline will be displayed. | -| id | Object | | `optional` The user-defined value returned when the polyline is picked. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this polyline will be displayed. | +| id | any | | `optional` The user-defined value returned when the polyline is picked. | | loop | boolean | false | `optional` Whether a line segment will be added between the first and last polyline positions. | | material | Object\|Array\|string | | `optional` The surface appearance of the polyline.This can be one of several built-in Material objects or a custom material, scripted with Fabric. | | positions | Array | | `optional` The positions of the polyline. | diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index c4117aac..815bfb23 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -131,7 +131,7 @@ Basic usage of VcPrimitiveGround component. | debugWireframe | boolean | `false` | `optional` For debugging only. Draws the model in wireframe. | | heightReference | number | `0` | `optional` Determines how the model is drawn relative to terrain. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** | | scene | Object | `false` | `optional` Must be passed in for models that use the height reference property. | -| distanceDisplayCondition | Object\|Array | | `optional` The condition specifying at what distance from the camera that this model will be displayed. | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this model will be displayed. | | color | Object\|string\|Array | `'white'` | `optional` A color that blends with the model's rendered color. | | colorBlendMode | number | `0` | `optional` Defines how the color blends with the model. **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** |0/1/2| | colorBlendAmount | number | `0.5` | `optional` Value used to determine the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | diff --git a/website/docs/zh-CN/geometries/vc-geometry-instance.md b/website/docs/zh-CN/geometries/vc-geometry-instance.md index a78737ec..20854cf9 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-instance.md +++ b/website/docs/zh-CN/geometries/vc-geometry-instance.md @@ -163,7 +163,7 @@ | geometry | Cesium.Geometry \| Cesium.GeometryFactory | | `required` 指定 geometry。 | | modelMatrix | Cesium.Matrix4 | | `optional` 指定将几何图形从模型坐标转换为世界坐标的模型矩阵。 | | id | \* | | `optional` 指定与 geometry 关联的信息,拾取时或者 Primitive#getGeometryInstanceAttributes 方法将返回该属性值。 | -| attributes | Object | | `optional` 指定每个实例的属性。 | +| attributes | any | | `optional` 指定每个实例的属性。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-cylinder.md b/website/docs/zh-CN/graphics/vc-graphics-cylinder.md index bcfb2c4a..ab2dd659 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-cylinder.md +++ b/website/docs/zh-CN/graphics/vc-graphics-cylinder.md @@ -88,7 +88,7 @@ | numberOfVerticalLines | number | `16` | `optional` 指定沿轮廓线周长绘制的垂直线数。 | | slices | number | `128` | `optional` 指定 cylinder 边节点数量。 | | shadows | number | `0` | `optional` 指定 cylinder 是否投射或接收每个点光源的阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 cylinder 随相机距离显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 cylinder 随相机距离显示条件。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipse.md b/website/docs/zh-CN/graphics/vc-graphics-ellipse.md index 89a7422b..5013f615 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipse.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipse.md @@ -103,7 +103,7 @@ | outlineWidth | number | `1.0` | `optional` 指定 ellipse 轮廓线宽度。 | | numberOfVerticalLines | number | `16` | `optional` 指定 ellipse 沿轮廓周长绘制的垂直线数。 | | shadows | number | `0` | `optional` 指定 ellipse 是否投射接收每一个光源的阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 ellipse 随相机距离的显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 ellipse 随相机距离的显示条件。 | | classificationType | number | `2` | `optional` 指定 ellipse 的贴地模式。 **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| | zIndex | number | | `optional` 指定 ellipse 顺序,没有高度和拉伸高度才有效。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md index 42eec23c..6fe1dac4 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md @@ -97,7 +97,7 @@ | slicePartitions | number | `64` | `optional` 指定 ellipsoid 径向线数量。 | | subdivisions | number | `128` | `optional` 指定 ellipsoid 每个轮环的样本数,确定曲率粒度。 | | shadows | number | `0` | `optional` 指定 ellipsoid 是否投射或接受每一个光源的阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 ellipsoid 随相机距离的显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 ellipsoid 随相机距离的显示条件。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-label.md b/website/docs/zh-CN/graphics/vc-graphics-label.md index db0dadca..5b67ddd1 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-label.md +++ b/website/docs/zh-CN/graphics/vc-graphics-label.md @@ -66,7 +66,7 @@ | translucencyByDistance | Object\|Array | | `optional` 指定 label 透明度随相机距离改变的参数。 | | pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 label 偏移量随相机距离改变的参数。 | | scaleByDistance | Object\|Array | | `optional` 指定 label 缩放随相机距离改变的参数。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 label 相机距离的显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 label 相机距离的显示条件。 | | disableDepthTestDistance | number | | `optional` 指定 label 的深度测试距离。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-model.md b/website/docs/zh-CN/graphics/vc-graphics-model.md index e138b57d..ab15f439 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-model.md +++ b/website/docs/zh-CN/graphics/vc-graphics-model.md @@ -75,7 +75,7 @@ | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | | imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` 指定漫反射和镜面反射因子。 | | lightColor | Object\|string\|Array | | `optional` 指定着色模型时要使用的灯光颜色的属性。未指定是太阳颜色。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定模型随相机改变的显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定模型随相机改变的显示条件。 | | nodeTransformations | Object | | `optional` 设置 TranslationRotationScale 节点转换参数。 | | articulations | Object | | `optional` | | clippingPlanes | Object | | `optional` 指定模型屏幕裁剪参数。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-path.md b/website/docs/zh-CN/graphics/vc-graphics-path.md index a335e953..56b74c46 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-path.md +++ b/website/docs/zh-CN/graphics/vc-graphics-path.md @@ -149,7 +149,7 @@ | width | number | `1.0` | `optional` 指定 path 像素宽度。 | | resolution | number | `60` | `optional` 指定 path 步进最大秒数。 | | material | Object\|string\|Array | `'white'` | `optional` 指定 path 材质。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 path 随相机距离改变是否显示参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 path 随相机距离改变是否显示参数。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-plane.md b/website/docs/zh-CN/graphics/vc-graphics-plane.md index a9463841..a46d9e8c 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-plane.md +++ b/website/docs/zh-CN/graphics/vc-graphics-plane.md @@ -94,7 +94,7 @@ | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 plane 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 plane 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 plane 是否投射或接收阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 plane 随相机距离改变的显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 plane 随相机距离改变的显示条件。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-point.md b/website/docs/zh-CN/graphics/vc-graphics-point.md index 2d6acd6c..4486aefa 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-point.md +++ b/website/docs/zh-CN/graphics/vc-graphics-point.md @@ -74,7 +74,7 @@ | outlineWidth | number | `0` | `optional` 指定 point 轮廓像素宽度。 | | scaleByDistance | Object\|Array | | `optional` 指定 point 随相机距离改变的缩放参数。 | | translucencyByDistance | Object\|Array | | `optional` 指定 point 随相机距离改变的透明度参数。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 point 随相机距离显隐参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 point 随相机距离显隐参数。 | | disableDepthTestDistance | number | | `optional` 指定 point 深度测试参数。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-polygon.md b/website/docs/zh-CN/graphics/vc-graphics-polygon.md index 297f2863..29c88640 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polygon.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polygon.md @@ -174,7 +174,7 @@ | closeBottom | boolean | `true` | `optional` 指定 polygon 拉伸出来的底部是否闭合。 | | arcType | number | `1` | `optional` 指定 polygon 线条类型。 **NONE: 0, GEODESIC: 1, RHUMB: 2**|0/1/2| | shadows | number | `0` | `optional` 指定 polygon 是否投射或接收阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 polygon 随相机距离改变是否显示参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 polygon 随相机距离改变是否显示参数。 | | classificationType | number | `2` | `optional` 指定 polygon 贴对象模式。 **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| | zIndex | number | `0` | `optional` 指定 polygon 顺序,没有高度和拉伸高度时有效。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md b/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md index cefad7f8..7c9c46e7 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md @@ -122,7 +122,7 @@ | outlineColor | Object\|string\|Array | | `optional` 指定 volume 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 volume 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 volume 是否投射或接受每个光源的阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 volume 随相机距离改变是否显示参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 volume 随相机距离改变是否显示参数。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-polyline.md b/website/docs/zh-CN/graphics/vc-graphics-polyline.md index c191cf78..197b7a44 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polyline.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polyline.md @@ -79,7 +79,7 @@ | clampToGround | boolean | `false` | `optional` 指定线是否贴地。 | | shadows | number | | `optional` 指定这些是否投射或接收来自每个光源的阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | classificationType | number | `2` | `optional` 指定相机到线的距离。 **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| -| distanceDisplayCondition | Object\|Array | | `optional` 指定相机到线的距离。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定相机到线的距离。 | | zIndex | number | `0` | `optional` 指定用于排序地面几何的 zIndex。 仅当`clampToGround`为真且支持地形上的折线时才有效。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md index c81f938e..b36dd14f 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md +++ b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md @@ -108,7 +108,7 @@ | outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 rectangle 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 rectangle 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 rectangle 是否投射或接收阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 rectangle 随相机距离改变是否显示参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 rectangle 随相机距离改变是否显示参数。 | | classificationType | number | `2` | `optional` 指定 rectangle 贴对象模式 。 **TERRAIN: 0, CESIUM_3D_TILE: 1, BOTH: 2**|0/1/2| | zIndex | number | `0` | `optional` 指定 rectangle 顺序,没设置高度和拉伸高度时有效。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-wall.md b/website/docs/zh-CN/graphics/vc-graphics-wall.md index 6bf02c76..524d20ed 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-wall.md +++ b/website/docs/zh-CN/graphics/vc-graphics-wall.md @@ -95,7 +95,7 @@ | outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 wall 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 wall 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 wall 是否投射或接收阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| -| distanceDisplayCondition | Object\|Array | | `optional` 指定 wall 随相机距离改变的显示条件。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 wall 随相机距离改变的显示条件。 | ### 事件 diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index a2d9267e..ca1f43ff 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -147,7 +147,7 @@ | alignedAxis | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 按单位矢量轴旋转参数。 | | color | Object\|string\|Array | `'white'` | `optional` 指定 billboard 图片的颜色。 | | disableDepthTestDistance | number | | `optional` 指定 billboard 的深度检测距离。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 billboard 显示条件随相机距离改变的参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 billboard 显示条件随相机距离改变的参数。 | | eyeOffset | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 视角偏移量。| | height | number | | `optional` 指定 billboard 的高度(像素)。 | | heightReference | number | `0` | `optional` 指定 billboard 高度模式。**NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| diff --git a/website/docs/zh-CN/primitives/vc-collection-label.md b/website/docs/zh-CN/primitives/vc-collection-label.md index 62720fe2..923a6b81 100644 --- a/website/docs/zh-CN/primitives/vc-collection-label.md +++ b/website/docs/zh-CN/primitives/vc-collection-label.md @@ -167,7 +167,7 @@ | backgroundColor | Object\|Array\|string | { x: 0.165, y: 0.165, z: 0.165, w: 0.8 } | `optional` 指定 label 背景颜色。 | | backgroundPadding | Object\|Array | | `optional` 指定 label 背景x、y方向偏移量。| | disableDepthTestDistance | number | | `optional` 指定 label 的深度检测距离。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 label 显示条件随相机距离改变的参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 label 显示条件随相机距离改变的参数。 | | eyeOffset | Object\Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 label 视角偏移量。| | fillColor | Object\|string\|Array | `white` | `optional` 指定 label 填充颜色。 | | font | string | `'30px sans-serif'` | `optional` 指定 label CSS 字体。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-point.md b/website/docs/zh-CN/primitives/vc-collection-point.md index 97d5835f..40afc71c 100644 --- a/website/docs/zh-CN/primitives/vc-collection-point.md +++ b/website/docs/zh-CN/primitives/vc-collection-point.md @@ -143,7 +143,7 @@ | ------------------------ | ------------------------- | --------- | -------------------------------------------------------- | | color | Object\|Array\|string | `'white'` | `optional` 指定 point 的颜色。 | | disableDepthTestDistance | number | | `optional` 指定 point 深度检测距离。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 point 显示条件随相机距离改变的参数。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 point 显示条件随相机距离改变的参数。 | | id | \* | | `optional` 指定与 point 关联的信息,拾取时返回该属性值。 | | outlineColor | Object \| Array \| string | `'black'` | `optional` 指定 point 的轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 point 的轮廓宽度。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-polyline.md b/website/docs/zh-CN/primitives/vc-collection-polyline.md index 2faeffd0..a0a6b3da 100644 --- a/website/docs/zh-CN/primitives/vc-collection-polyline.md +++ b/website/docs/zh-CN/primitives/vc-collection-polyline.md @@ -147,8 +147,8 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------------------------ | --------------------- | ------ | ----------------------------------------------------------- | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 polyline 显示条件随相机距离改变的参数。 | -| id | Object | | `optional` 指定与 polyline 关联的信息,拾取时返回该属性值。 | +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 polyline 显示条件随相机距离改变的参数。 | +| id | any | | `optional` 指定与 polyline 关联的信息,拾取时返回该属性值。 | | loop | boolean | false | `optional` 指定 polyline 是否首尾相连。 | | material | Object\|Array\|string | | `optional` 指定 polyline 材质。 | | positions | Array | | `optional` 指定 polyline 的位置。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index e4647af2..9637df6b 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -127,7 +127,7 @@ | debugWireframe | boolean | `false` | `optional` 可选的仅用于调试。 仅用于调试。 在线框中绘制模型。 | | heightReference | number | `0` | `optional` 指定 model 的高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | scene | Object | `false` | `optional` 指定model的scene参数,使用 heightReference 属性的模型必须传递。 | -| distanceDisplayCondition | Object\|Array | | `optional` 指定 model 随相机改变的显示条件。| +| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 model 随相机改变的显示条件。| | color | Object\|string\|Array | `'white'` | `optional` 指定 model 渲染混合的颜色。 | | colorBlendMode | number | `0` | `optional` 指定 model 与颜色混合模式。 **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** | | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | From 914246823011d727624990e53eeb9cfcd3745396 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:56:20 +0800 Subject: [PATCH 06/16] VcRectangle --- website/docs/en-US/geometries/vc-geometry-ellipsoid.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-frustum.md | 8 ++++---- .../docs/en-US/geometries/vc-geometry-polygon-coplanar.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-polygon.md | 4 ++-- website/docs/en-US/geometries/vc-geometry-rectangle.md | 4 ++-- website/docs/en-US/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/en-US/graphics/vc-graphics-model.md | 2 +- website/docs/en-US/providers/vc-imagery-provider-tms.md | 2 +- website/docs/en-US/providers/vc-imagery-provider-wms.md | 2 +- website/docs/en-US/providers/vc-imagery-provider-wmts.md | 2 +- website/docs/en-US/vc-config-provider.md | 8 ++++---- website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-frustum.md | 8 ++++---- .../docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-polygon.md | 4 ++-- website/docs/zh-CN/geometries/vc-geometry-rectangle.md | 4 ++-- website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-model.md | 2 +- website/docs/zh-CN/providers/vc-imagery-provider-tms.md | 2 +- .../zh-CN/providers/vc-imagery-provider-urltemplate.md | 2 +- website/docs/zh-CN/providers/vc-imagery-provider-wms.md | 2 +- website/docs/zh-CN/providers/vc-imagery-provider-wmts.md | 2 +- website/docs/zh-CN/vc-config-provider.md | 2 +- 23 files changed, 40 insertions(+), 40 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-ellipsoid.md b/website/docs/en-US/geometries/vc-geometry-ellipsoid.md index 44314f12..d3dc5494 100644 --- a/website/docs/en-US/geometries/vc-geometry-ellipsoid.md +++ b/website/docs/en-US/geometries/vc-geometry-ellipsoid.md @@ -131,7 +131,7 @@ The basic usage of VcGeometryEllipsoid component. | Name | Type | Default | Description | | --------------- | ------------- | ------ | ----------------------------------------------------------- | -| radii | Object\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. | +| radii | VcPosition\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. | | innerRadii | number | | `optional` The inner radii of the ellipsoid in the x, y, and z directions.| | minimumClock | number | `0.0` | `optional` The minimum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. | | maximumClock | number | `2*PI` | `optional` The maximum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. | @@ -160,7 +160,7 @@ Loading a ellipsoid geometry outline. It is equivalent to initializing a `Cesium | Name | Type | Default | Description | | --------------- | ------------- | ------- | ----------------------------------------------------------- | -| radii | Object\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. | +| radii | VcPosition\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. | | innerRadii | number | | `optional` The inner radii of the ellipsoid in the x, y, and z directions.| | minimumClock | number | `0.0` | `optional` The minimum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. | | maximumClock | number | `2*PI` | `optional` The maximum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. | diff --git a/website/docs/en-US/geometries/vc-geometry-frustum.md b/website/docs/en-US/geometries/vc-geometry-frustum.md index 6c3efb1e..2ebfaf24 100644 --- a/website/docs/en-US/geometries/vc-geometry-frustum.md +++ b/website/docs/en-US/geometries/vc-geometry-frustum.md @@ -135,8 +135,8 @@ Basic usage of the VcGeometryFrustum component. | Name | Type | Default | Description | | ------------ | ------------- | ------- | ------------------------------------------------ | | frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` The frustum. | -| origin | Object\|Array | | `optional` The origin of the frustum. | -| orientation | Object\|Array | | `optional` The orientation of the frustum. | +| origin | VcPosition\|Array | | `optional` The origin of the frustum. | +| orientation | Cesium.Quaternion\|Array | | `optional` The orientation of the frustum. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | ### Events @@ -158,8 +158,8 @@ Loading a frustum geometry outline. It is equivalent to initializing a `Cesium.F | Name | Type | Default | Description | | ----------- | ------------- | ------- | ------------------------------------------ | | frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` The frustum. | -| origin | Object\|Array | | `optional` The origin of the frustum. | -| orientation | Object\|Array | | `optional` The orientation of the frustum. | +| origin | VcPosition\|Array | | `optional` The origin of the frustum. | +| orientation | Cesium.Quaternion\|Array | | `optional` The orientation of the frustum. | ### VcGeometryFrustumOutline Events diff --git a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md index ae588330..7f3eeaf2 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md @@ -120,7 +120,7 @@ Basic usage of VcGeometryPolygonCoplanar component. | Name | Type | Default | Description | | ---------------- | -------------- | ------- | --------------------------------------------------------------------------------------------------------- | -| polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | | stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | @@ -143,7 +143,7 @@ Loading a coplanar polygon geometry outline. It is equivalent to initializing a | Name | Type | Default | Description | | ---------------- | ------------- | ------- | ------------------------------------------------------ | -| polygonHierarchy | Object\|Array | | `optional` A polygon hierarchy that can include holes. | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `optional` A polygon hierarchy that can include holes. | ### VcGeometryPolygonCoplanarOutline Events diff --git a/website/docs/en-US/geometries/vc-geometry-polygon.md b/website/docs/en-US/geometries/vc-geometry-polygon.md index 4b36eb6d..64155959 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon.md @@ -147,7 +147,7 @@ Basic usage of VcGeometryPolygon component. | Name | Type | Default | Description | Accepted Values | | ----------------- | ------------- | ------- | -------------------------------------------------------------------- | --------------- | -| polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. | | height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | @@ -178,7 +178,7 @@ Loading a polygon geometry outline. It is equivalent to initializing a `Cesium.P | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. | | height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | diff --git a/website/docs/en-US/geometries/vc-geometry-rectangle.md b/website/docs/en-US/geometries/vc-geometry-rectangle.md index 95f09a02..6f44f7c3 100644 --- a/website/docs/en-US/geometries/vc-geometry-rectangle.md +++ b/website/docs/en-US/geometries/vc-geometry-rectangle.md @@ -116,7 +116,7 @@ Basic usage of VcGeometryRectangle component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| rectangle | Object\|Array | | `required` A cartographic rectangle with north, south, east and west properties. | +| rectangle | VcRectangle\|Array | | `required` A cartographic rectangle with north, south, east and west properties. | | vertexFormat | number | | `optional` The vertex attributes to be computed. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid on which the rectangle lies. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | @@ -144,7 +144,7 @@ Loading a rectangle geometry outline. It is equivalent to initializing a `Cesium | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| rectangle | Object\|Array | | `required` A cartographic rectangle with north, south, east and west properties. | +| rectangle | VcRectangle\|Array | | `required` A cartographic rectangle with north, south, east and west properties. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid on which the rectangle lies. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | height | number | `0` | `optional` The distance in meters between the rectangle and the ellipsoid surface. | diff --git a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md index 7520b672..3535ba83 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md @@ -86,7 +86,7 @@ Basic usage of the VcGraphicsEllipsoid component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the ellipsoid. | -| radii | Object | | `optional` A Cartesian3 Property specifying the radii of the ellipsoid. | +| radii | VcPosition | | `optional` A Cartesian3 Property specifying the radii of the ellipsoid. | | heightReference | number | | `optional` A Property specifying what the height from the entity position is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipsoid is filled with the provided material. | | material | Object\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the ellipsoid. | diff --git a/website/docs/en-US/graphics/vc-graphics-model.md b/website/docs/en-US/graphics/vc-graphics-model.md index 1d41f12b..ce333554 100644 --- a/website/docs/en-US/graphics/vc-graphics-model.md +++ b/website/docs/en-US/graphics/vc-graphics-model.md @@ -76,7 +76,7 @@ Basic usage of the VcGraphicsModel component. | imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` A property specifying the contribution from diffuse and specular image-based lighting. | | lightColor | Object\|string\|Array | | `optional` A property specifying the light color to use when shading the model. The default sun light color will be used when undefined. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera.A Property specifying at what distance from the camera that this model will be displayed. | -| nodeTransformations | Object | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. | +| nodeTransformations | Cesium.TranslationRotationScale | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. | | articulations | Object | | `optional` An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties. | | clippingPlanes | Object | | `optional` A property specifying the ClippingPlaneCollection used to selectively disable rendering the model. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-tms.md b/website/docs/en-US/providers/vc-imagery-provider-tms.md index 849f39f3..9d29bb92 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-tms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-tms.md @@ -98,7 +98,7 @@ Basic usage of the `vc-imagery-provider-tms` component. | fileExtension | string | `'png'` | `optional` The file extension for images on the server. | | credit | string\|Object | `''` | `optional` A credit for the data source, which is displayed on the canvas. | | 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 | Object\|Array | | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. | +| 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. | | 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. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-wms.md b/website/docs/en-US/providers/vc-imagery-provider-wms.md index c7682be3..a47fcc38 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wms.md @@ -97,7 +97,7 @@ Basic usage of the `vc-imagery-provider-wms` component. | getFeatureInfoParameters | Object | | `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 | Object\|Array | | `optional` The rectangle of the layer. | +| rectangle | VcRectangle\|Array | | `optional` The rectangle of the layer. | | tilingScheme | Object | | `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. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-wmts.md b/website/docs/en-US/providers/vc-imagery-provider-wmts.md index 38b45d2a..82e2503c 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wmts.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wmts.md @@ -100,7 +100,7 @@ Basic usage of the `vc-imagery-provider-wmts` component. | tileWidth | number | `256` | `optional` The tile width in pixels. | | tileHeight | number | `256` | `optional` The tile height in pixels. | | tilingScheme | TilingScheme | | `optional` The tiling scheme corresponding to the organization of the tiles in the TileMatrixSet. | -| rectangle | Object\|Array | | `optional` The rectangle covered by the layer. | +| rectangle | VcRectangle\|Array | | `optional` The rectangle covered by the layer. | | minimumLevel | number | `0` | `optional` The minimum level-of-detail supported by the imagery provider. | | maximumLevel | number | | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. | | ellipsoid | Ellipsoid | | `optional` The ellipsoid. If not specified, the WGS84 ellipsoid is used. | diff --git a/website/docs/en-US/vc-config-provider.md b/website/docs/en-US/vc-config-provider.md index cdde1053..e2c9d52d 100644 --- a/website/docs/en-US/vc-config-provider.md +++ b/website/docs/en-US/vc-config-provider.md @@ -1,10 +1,10 @@ # VcConfigProvider @@ -159,6 +159,6 @@ Basic usage of `vc-config-provider`. | Name | Type | Default | Description | | ------ | ------------------ | --------------------------------------------------------------------------------- | ------------- | -| locale | Object\ | [Chinese](https://github.com/zouyaoji/vue-cesium/blob/dev/packages/locale/lang/zh-hans.ts) | `optional` Locale Object. | +| locale | | [Chinese](https://github.com/zouyaoji/vue-cesium/blob/dev/packages/locale/lang/zh-hans.ts) | `optional` Locale Object. | | cesiumPath | string | `'https://unpkg.com/cesium@latest/Build/Cesium/Cesium.js'` | `optional` CesiumJS url. | | accessToken | string | `'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2OGE2MjZlOC1mMzhiLTRkZjQtOWEwZi1jZTE0MWY0YzhlMTAiLCJpZCI6MjU5LCJpYXQiOjE2NDM3MjU1NzZ9.ptZ5tVXvMmuWRC0WhjtYTg-17nQh14fgxBsx0HJiVXQ'` | `optional` accessToken. | diff --git a/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md b/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md index b33702ee..0b974512 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md +++ b/website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md @@ -130,7 +130,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | --------------- | ------------- | ------ | ----------------------------------------------------------- | -| radii | Object\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 | +| radii | VcPosition\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 | | innerRadii | number | | `optional` 指定椭球体在 x、y、z 方向上的内半径。 | | minimumClock | number | `0.0` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最小角度。 | | maximumClock | number | `2*PI` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最大角度。 | @@ -158,7 +158,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | --------------- | ------------- | ------ | ----------------------------------------------------------- | -| radii | Object\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 | +| radii | VcPosition\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 | | innerRadii | number | | `optional` 指定椭球体在 x、y、z 方向上的内半径。 | | minimumClock | number | `0.0` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最小角度。 | | maximumClock | number | `2*PI` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最大角度。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-frustum.md b/website/docs/zh-CN/geometries/vc-geometry-frustum.md index 477bb6df..1a5a1b22 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-frustum.md +++ b/website/docs/zh-CN/geometries/vc-geometry-frustum.md @@ -135,8 +135,8 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------------ | ------------- | ------ | ----------------------------------- | | frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` 指定视锥体参数。 | -| origin | Object\|Array | | `optional` 指定视锥体原点。 | -| orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 | +| origin | VcPosition\|Array | | `optional` 指定视锥体原点。 | +| orientation | Cesium.Quaternion\|Array | | `optional` 指定视锥体旋转参数。 | | vertexFormat | Cesium.VertexFormat | | `optional` 指定视锥体顶点渲染方式。 | ### 事件 @@ -158,8 +158,8 @@ | 属性名 | 类型 | 默认值 | 描述 | | ----------- | ------------- | ------ | ------------------------------- | | frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` 指定视锥体参数。 | -| origin | Object\|Array | | `optional` 指定视锥体原点。 | -| orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 | +| origin | VcPosition\|Array | | `optional` 指定视锥体原点。 | +| orientation | Cesium.Quaternion\|Array | | `optional` 指定视锥体旋转参数。 | ### VcGeometryFrustumOutline 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md b/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md index 496a7811..6498a282 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polygon-coplanar.md @@ -120,7 +120,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ---------------- | ------------- | ------ | ------------------------------------------------------ | -| polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的位置,可以包含岛洞。 | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `optional` 指定 polygon 的位置,可以包含岛洞。 | | stRotation | number | `0.0` | `optional` 指定 polygon 纹理按正北方向逆时针旋转角度。 | | vertexFormat | Cesium.VertexFormat | | `optional` 指定 polygon 要缓存的顶点属性。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 polygon 参考椭球体。 | @@ -143,7 +143,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ---------------- | ------------- | ------ | ---------------------------------------------- | -| polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的位置,可以包含岛洞。 | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `optional` 指定 polygon 的位置,可以包含岛洞。 | ### VcGeometryPolygonCoplanarOutline 事件 diff --git a/website/docs/zh-CN/geometries/vc-geometry-polygon.md b/website/docs/zh-CN/geometries/vc-geometry-polygon.md index d9d4a33b..2cd40c98 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-polygon.md +++ b/website/docs/zh-CN/geometries/vc-geometry-polygon.md @@ -146,7 +146,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----------------- | ------------- | ------- | -------------------------------------------------------------------- | ------ | -| polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性,可以包含岛洞。 | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性,可以包含岛洞。 | | height | number | `0` | `optional` 指定 polygon 的高度。 | | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | | vertexFormat | Cesium.VertexFormat | | `optional` 指定 polygon 要缓存的顶点属性。 | @@ -176,7 +176,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----------------- | ------------- | ------- | -------------------------------------------------------------------- | ------ | -| polygonHierarchy | Object\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性。 | +| polygonHierarchy | VcPolygonHierarchy\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性。 | | height | number | `0` | `optional` 指定 polygon 的高度。 | | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | | vertexFormat | Cesium.VertexFormat | | `optional` 指定 polygon 要缓存的顶点属性。 | diff --git a/website/docs/zh-CN/geometries/vc-geometry-rectangle.md b/website/docs/zh-CN/geometries/vc-geometry-rectangle.md index f2c01461..8558b397 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-rectangle.md +++ b/website/docs/zh-CN/geometries/vc-geometry-rectangle.md @@ -116,7 +116,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | -------------- | ------------- | ------ | ---------------------------------------------------------------- | -| rectangle | Object\|Array | | `required` 指定矩形四至参数。 | +| rectangle | VcRectangle\|Array | | `required` 指定矩形四至参数。 | | vertexFormat | number | | `optional` 指定矩形要缓存的顶点属性。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定矩形所在的椭球体。 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位)。 | @@ -143,7 +143,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | -------------- | ------------- | ------ | --------------------------------------------------------- | -| rectangle | Object\|Array | | `required` 指定矩形四至参数。 | +| rectangle | VcRectangle\|Array | | `required` 指定矩形四至参数。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定矩形所在的椭球体。 | | granularity | number | | `optional` 指定每个纬度和经度之间的距离(以弧度为单位)。 | | height | number | `0` | `optional` 指定矩形高度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md index 6fe1dac4..4759e43e 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md @@ -86,7 +86,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----- | ----- | ----- | --- | ------ | | show | boolean | `true` | `optional` 指定 ellipsoid 是否显示。 | -| radii | Object | | `optional` 指定 ellipsoid 的半径参数。 | +| radii | VcPosition | | `optional` 指定 ellipsoid 的半径参数。 | | heightReference | number | | `optional` 指定 ellipsoid 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** | 0/1/2 | | fill | boolean | `true` | `optional` 指定 ellipsoid 是否填充材质。 | | material | Object\|string\|Array | `'WHITE'` | `optional` 指定 ellipsoid 材质。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-model.md b/website/docs/zh-CN/graphics/vc-graphics-model.md index ab15f439..7a335db2 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-model.md +++ b/website/docs/zh-CN/graphics/vc-graphics-model.md @@ -76,7 +76,7 @@ | imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` 指定漫反射和镜面反射因子。 | | lightColor | Object\|string\|Array | | `optional` 指定着色模型时要使用的灯光颜色的属性。未指定是太阳颜色。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定模型随相机改变的显示条件。 | -| nodeTransformations | Object | | `optional` 设置 TranslationRotationScale 节点转换参数。 | +| nodeTransformations | Cesium.TranslationRotationScale | | `optional` 设置 TranslationRotationScale 节点转换参数。 | | articulations | Object | | `optional` | | clippingPlanes | Object | | `optional` 指定模型屏幕裁剪参数。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md index 309a8c8c..01715261 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md @@ -98,7 +98,7 @@ | credit | string\|Object | `''` | `optional` 指定服务版权描述信息。 | | minimumLevel | number | `0` | `optional` 指定服务最小层级。 | | maximumLevel | number | | `optional` 指定服务最大层级。 | -| rectangle | Object\|Array | | `optional` 指定影像加载的矩形范围。 | +| rectangle | VcRectangle\|Array | | `optional` 指定影像加载的矩形范围。 | | tilingScheme | Object | | `optional` 指定服务坐标系参数。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。默认 WGS84 椭球体。 | | tileWidth | number | `256` | `optional` 指定图像瓦片宽度。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md index 5d3baaa9..c26a14eb 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md @@ -116,7 +116,7 @@ | credit | string | `''` | `optional` 指定服务的描述信息 | | minimumLevel | number | `0` | `optional` 最小层级。 | | maximumLevel | number | | `optional` 最大层级。 | -| rectangle | Object\|Array | | `optional` 图层的矩形范围,此矩形限制了影像可见范围。 | +| rectangle | VcRectangle\|Array | | `optional` 图层的矩形范围,此矩形限制了影像可见范围。 | | tilingScheme | Object | | `optional` 指定服务的投影参数。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 参考椭球体。 | | tileWidth | number | `256` | `optional` 像元宽度。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md index dfa3a602..49416dda 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md @@ -96,7 +96,7 @@ | getFeatureInfoParameters | Object | | `optional` 在 GetFeatureInfo URL 中传递给 WMS 服务器的其他参数。 | | enablePickFeatures | boolean | `true` | `optional` 指定是否支持拾取对象,通过 GetFeatureInfo 获取,需要服务支持。 | | getFeatureInfoFormats | Array | | `optional` 指定 WMS GetFeatureInfo 请求的格式。 | -| rectangle | Object\|Array | | `optional` 指定 WMS 图层矩形范围。 | +| rectangle | VcRectangle\|Array | | `optional` 指定 WMS 图层矩形范围。 | | tilingScheme | Object | | `optional` 指定 WMS 服务瓦片投影参数。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 WMS 服务椭球体参数,如果指定了 tilingScheme 此属性无效。 | | tileWidth | number | `256` | `optional` 指定像元宽度。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md b/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md index 022c6066..27cbc0f8 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md @@ -99,7 +99,7 @@ | tileWidth | number | `256` | `optional` 像元宽度。 | | tileHeight | number | `256` | `optional` 像元高度。 | | tilingScheme | TilingScheme | | `optional` 指定切片方案。 | -| rectangle | Object\|Array | | `optional` 图层的矩形范围,此矩形限制了影像可见范围。 | +| rectangle | VcRectangle\|Array | | `optional` 图层的矩形范围,此矩形限制了影像可见范围。 | | minimumLevel | number | `0` | `optional` 图层可以显示的最小层级。 | | maximumLevel | number | | `optional` 图层可以显示的最大层级,undefined 表示没有限制。 | | ellipsoid | Ellipsoid | | `optional` 参考椭球体,没指定默认 WGS84 椭球。 | diff --git a/website/docs/zh-CN/vc-config-provider.md b/website/docs/zh-CN/vc-config-provider.md index 56659c98..d2108549 100644 --- a/website/docs/zh-CN/vc-config-provider.md +++ b/website/docs/zh-CN/vc-config-provider.md @@ -159,6 +159,6 @@ VcConfigProvider 组件基础用法 | 属性名 | 类型 | 默认值 | 描述 | | ----------- | ------------------ | --------------------------------------------------------------------------------- | ----------------------------- | -| locale | Object\ | [Chinese](https://github.com/zouyaoji/vue-cesium/blob/dev/packages/locale/lang/zh-hans.ts) | `optional` 翻译文本对象。 | +| locale | | [Chinese](https://github.com/zouyaoji/vue-cesium/blob/dev/packages/locale/lang/zh-hans.ts) | `optional` 翻译文本对象。 | | cesiumPath | string | `'https://unpkg.com/cesium@latest/Build/Cesium/Cesium.js'` | `optional` CesiumJS 地址。 | | accessToken | string | `'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2OGE2MjZlOC1mMzhiLTRkZjQtOWEwZi1jZTE0MWY0YzhlMTAiLCJpZCI6MjU5LCJpYXQiOjE2NDM3MjU1NzZ9.ptZ5tVXvMmuWRC0WhjtYTg-17nQh14fgxBsx0HJiVXQ'` | `optional` 指定 accessToken。 | From 96df72a566ad4de6ed621d452f9fb51ddfe07684 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 10:59:20 +0800 Subject: [PATCH 07/16] VcMaterial --- website/docs/en-US/graphics/vc-graphics-cylinder.md | 2 +- website/docs/en-US/graphics/vc-graphics-ellipse.md | 2 +- website/docs/en-US/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/en-US/graphics/vc-graphics-path.md | 2 +- website/docs/en-US/graphics/vc-graphics-plane.md | 2 +- website/docs/en-US/graphics/vc-graphics-polygon.md | 2 +- website/docs/en-US/graphics/vc-graphics-polyline-volume.md | 2 +- website/docs/en-US/graphics/vc-graphics-polyline.md | 2 +- website/docs/en-US/graphics/vc-graphics-rectangle.md | 2 +- website/docs/en-US/graphics/vc-graphics-wall.md | 2 +- website/docs/en-US/primitives/vc-collection-polyline.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-cylinder.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-ellipse.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-path.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-plane.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polygon.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polyline.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-rectangle.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-wall.md | 2 +- website/docs/zh-CN/primitives/vc-collection-polyline.md | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/website/docs/en-US/graphics/vc-graphics-cylinder.md b/website/docs/en-US/graphics/vc-graphics-cylinder.md index 090873f0..7aaad8e4 100644 --- a/website/docs/en-US/graphics/vc-graphics-cylinder.md +++ b/website/docs/en-US/graphics/vc-graphics-cylinder.md @@ -81,7 +81,7 @@ Basic usage of the VcGraphicsCylinder component. | bottomRadius | number | | `optional` A numeric Property specifying the radius of the bottom of the cylinder. | | heightReference | number | `0` | `optional` A Property specifying what the height from the entity position is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | fill | boolean | `true` | `optional` A boolean Property specifying whether the cylinder is filled with the provided material. | -| material | Object\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the cylinder. | +| material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the cylinder. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the cylinder is outlined. | | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/graphics/vc-graphics-ellipse.md b/website/docs/en-US/graphics/vc-graphics-ellipse.md index 79eb2999..658bb644 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipse.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipse.md @@ -97,7 +97,7 @@ Basic usage of the VcGraphicsEllipse component. | stRotation | number\|Object | `0.0` | `optional` A numeric property specifying the rotation of the ellipse texture counter-clockwise from north. | | granularity | number | | `optional` A numeric Property specifying the angular distance between points on the ellipse. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipse is filled with the provided material. | -| material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the ellipse. | +| material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the ellipse. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the ellipse is outlined. | | outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md index 3535ba83..9bae316e 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md @@ -89,7 +89,7 @@ Basic usage of the VcGraphicsEllipsoid component. | radii | VcPosition | | `optional` A Cartesian3 Property specifying the radii of the ellipsoid. | | heightReference | number | | `optional` A Property specifying what the height from the entity position is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipsoid is filled with the provided material. | -| material | Object\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the ellipsoid. | +| material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the ellipsoid. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the ellipsoid is outlined. | | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/graphics/vc-graphics-path.md b/website/docs/en-US/graphics/vc-graphics-path.md index e7a9a62c..36c57fd7 100644 --- a/website/docs/en-US/graphics/vc-graphics-path.md +++ b/website/docs/en-US/graphics/vc-graphics-path.md @@ -149,7 +149,7 @@ Basic usage of the VcGraphicsPath component. | trailTime | Object | | `optional` A Property specifying the number of seconds in front of the object to show. | | width | number | `1.0` | `optional` A numeric Property specifying the width in pixels. | | resolution | number | `60` | `optional` A numeric Property specifying the maximum number of seconds to step when sampling the position. | -| material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the path. | +| material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the path. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this path will be displayed. | ### Events diff --git a/website/docs/en-US/graphics/vc-graphics-plane.md b/website/docs/en-US/graphics/vc-graphics-plane.md index d90dc65d..8091fd35 100644 --- a/website/docs/en-US/graphics/vc-graphics-plane.md +++ b/website/docs/en-US/graphics/vc-graphics-plane.md @@ -89,7 +89,7 @@ Basic usage of the VcGraphicsPlane component. | plane | Object\|Array | | `optional` A Plane Property specifying the normal and distance for the plane. | | dimensions | VcPosition\|Array | | `optional` A Cartesian2 Property specifying the width and height of the plane. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the plane is filled with the provided material. | -| material | Object\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the plane. | +| material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the plane. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the plane is outlined. | | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/graphics/vc-graphics-polygon.md b/website/docs/en-US/graphics/vc-graphics-polygon.md index c8d3d01f..79a7186b 100644 --- a/website/docs/en-US/graphics/vc-graphics-polygon.md +++ b/website/docs/en-US/graphics/vc-graphics-polygon.md @@ -165,7 +165,7 @@ Basic usage of VcGraphicsPolygon component. | stRotation | number | `0.0` | `optional` A numeric property specifying the rotation of the polygon texture counter-clockwise from north. | | granularity | number | | `optional` A numeric Property specifying the angular distance between each latitude and longitude point. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the polygon is filled with the provided material. | -| material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the polygon. | +| material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the polygon. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the polygon is outlined. | | outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `0` | `optional` A numeric Property specifying the the outline width in pixels. | diff --git a/website/docs/en-US/graphics/vc-graphics-polyline-volume.md b/website/docs/en-US/graphics/vc-graphics-polyline-volume.md index cc45a1ee..35e13cb7 100644 --- a/website/docs/en-US/graphics/vc-graphics-polyline-volume.md +++ b/website/docs/en-US/graphics/vc-graphics-polyline-volume.md @@ -117,7 +117,7 @@ Basic usage of the VcGraphicsPolylineVolume component. | cornerType | number | `0` | `optional` A CornerType Property specifying the style of the corners. **ROUNDED: 0, MITERED: 1, BEVELED: 2** |0/1/2| | granularity | number | | `optional` A numeric Property specifying the angular distance between each latitude and longitude point. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the volume is filled with the provided material. | -| material | Object\|string\|Array | | `optional` A Property specifying the material used to fill the volume. | +| material | VcMaterial\|string\|Array | | `optional` A Property specifying the material used to fill the volume. | | outline | boolean | false | `optional` A boolean Property specifying whether the volume is outlined. | | outlineColor | Object\|string\|Array | | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/graphics/vc-graphics-polyline.md b/website/docs/en-US/graphics/vc-graphics-polyline.md index 9ff1f50e..a1e7ed82 100644 --- a/website/docs/en-US/graphics/vc-graphics-polyline.md +++ b/website/docs/en-US/graphics/vc-graphics-polyline.md @@ -73,7 +73,7 @@ Basic usage of VcGraphicsPolyline component. | positions | Array | | `optional` A Property specifying the array of Cartesian3 positions that define the line strip. | | width | number | `1.0` | `optional` A numeric Property specifying the width in pixels. | | granularity | number | | `optional` A numeric Property specifying the angular distance between each latitude and longitude if arcType is not ArcType.NONE. | -| material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the polyline. | +| material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the polyline. | | depthFailMaterial | Object\|string\|Array | | `optional` A property specifying the material used to draw the polyline when it is below the terrain. | | arcType | number | `1` | `optional` The type of line the polyline segments must follow. **NONE: 0, GEODESIC: 1, RHUMB: 2** |0/1/2| | clampToGround | boolean | `false` | `optional` A boolean Property specifying whether the Polyline should be clamped to the ground. | diff --git a/website/docs/en-US/graphics/vc-graphics-rectangle.md b/website/docs/en-US/graphics/vc-graphics-rectangle.md index e4c45e4c..b7256d13 100644 --- a/website/docs/en-US/graphics/vc-graphics-rectangle.md +++ b/website/docs/en-US/graphics/vc-graphics-rectangle.md @@ -102,7 +102,7 @@ Basic usage of VcGraphicsRectangle component. | stRotation | number | `0.0` | `optional` A numeric property specifying the rotation of the rectangle texture counter-clockwise from north. | | granularity | number | | `optional` A numeric Property specifying the angular distance between points on the rectangle. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the rectangle is filled with the provided material. | -| material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the rectangle. | +| material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the rectangle. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the rectangle is outlined. | | outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/graphics/vc-graphics-wall.md b/website/docs/en-US/graphics/vc-graphics-wall.md index d6f95874..92e90991 100644 --- a/website/docs/en-US/graphics/vc-graphics-wall.md +++ b/website/docs/en-US/graphics/vc-graphics-wall.md @@ -90,7 +90,7 @@ Basic usage of the VcGraphicsWall component. | maximumHeights | Array | | `optional` A Property specifying an array of heights to be used for the top of the wall instead of the height of each position. | | granularity | number | | `optional` A numeric Property specifying the angular distance between each latitude and longitude point. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the wall is filled with the provided material. | -| material | Object\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the wall. | +| material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the wall. | | outline | boolean | false | `optional` A boolean Property specifying whether the wall is outlined. | | outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | diff --git a/website/docs/en-US/primitives/vc-collection-polyline.md b/website/docs/en-US/primitives/vc-collection-polyline.md index b9351705..b05c9628 100644 --- a/website/docs/en-US/primitives/vc-collection-polyline.md +++ b/website/docs/en-US/primitives/vc-collection-polyline.md @@ -154,7 +154,7 @@ Loading a renderable polyline. It is equivalent to initializing a `Cesium.Polyli | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this polyline will be displayed. | | id | any | | `optional` The user-defined value returned when the polyline is picked. | | loop | boolean | false | `optional` Whether a line segment will be added between the first and last polyline positions. | -| material | Object\|Array\|string | | `optional` The surface appearance of the polyline.This can be one of several built-in Material objects or a custom material, scripted with Fabric. | +| material | VcMaterial\|Array\|string | | `optional` The surface appearance of the polyline.This can be one of several built-in Material objects or a custom material, scripted with Fabric. | | positions | Array | | `optional` The positions of the polyline. | | show | boolean | true | `optional` Determines if this polyline will be shown. Use this to hide or show a polyline, instead of removing it and re-adding it to the collection. | | width | number | 1.0 | `optional` The width of the polyline. | diff --git a/website/docs/zh-CN/graphics/vc-graphics-cylinder.md b/website/docs/zh-CN/graphics/vc-graphics-cylinder.md index ab2dd659..a4e39669 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-cylinder.md +++ b/website/docs/zh-CN/graphics/vc-graphics-cylinder.md @@ -81,7 +81,7 @@ | bottomRadius | number | | `optional` 指定 cylinder 的底部半径。 | | heightReference | number | | `optional` 指定 cylinder 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2**|0/1/2| | fill | boolean | `true` | `optional` 指定 cylinder 是否填充材质。 | -| material | Object\|string\|Array | `'WHITE'` | `optional` 指定 cylinder 的材质。 | +| material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 cylinder 的材质。 | | outline | boolean | `false` | `optional` 指定 cylinder 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 cylinder 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 cylinder 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipse.md b/website/docs/zh-CN/graphics/vc-graphics-ellipse.md index 5013f615..74021081 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipse.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipse.md @@ -97,7 +97,7 @@ | stRotation | number | `0.0` | `optional` 指定 ellipse 纹理正北逆时针旋转角度。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 | | fill | boolean | `true` | `optional` 指定 ellipse 是否填充材质。 | -| material | Object\|string\|Array | `'white'` | `optional` 指定 ellipse 材质。 | +| material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 ellipse 材质。 | | outline | boolean | `false` | `optional` 指定 ellipse 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 ellipse 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 ellipse 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md index 4759e43e..8ea07a42 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md @@ -89,7 +89,7 @@ | radii | VcPosition | | `optional` 指定 ellipsoid 的半径参数。 | | heightReference | number | | `optional` 指定 ellipsoid 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** | 0/1/2 | | fill | boolean | `true` | `optional` 指定 ellipsoid 是否填充材质。 | -| material | Object\|string\|Array | `'WHITE'` | `optional` 指定 ellipsoid 材质。 | +| material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 ellipsoid 材质。 | | outline | boolean | `false` | `optional` 指定 ellipsoid 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 ellipsoid 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 ellipsoid 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-path.md b/website/docs/zh-CN/graphics/vc-graphics-path.md index 56b74c46..e57a986d 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-path.md +++ b/website/docs/zh-CN/graphics/vc-graphics-path.md @@ -148,7 +148,7 @@ | trailTime | number | | `optional` 指定 path 后面要显示的秒数。 | | width | number | `1.0` | `optional` 指定 path 像素宽度。 | | resolution | number | `60` | `optional` 指定 path 步进最大秒数。 | -| material | Object\|string\|Array | `'white'` | `optional` 指定 path 材质。 | +| material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 path 材质。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 path 随相机距离改变是否显示参数。 | ### 事件 diff --git a/website/docs/zh-CN/graphics/vc-graphics-plane.md b/website/docs/zh-CN/graphics/vc-graphics-plane.md index a46d9e8c..64f4666b 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-plane.md +++ b/website/docs/zh-CN/graphics/vc-graphics-plane.md @@ -89,7 +89,7 @@ | plane | Object\|Array | | `optional` 指定 plane 的法线和距离。 | | dimensions | VcPosition\|Array | | `optional` 指定 plane 的宽和高。 | | fill | boolean | `true` | `optional` 指定 plane 是否填充材质。 | -| material | Object\|string\|Array | `'WHITE'` | `optional` 指定 plane 的材质。 | +| material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 plane 的材质。 | | outline | boolean | `false` | `optional` 指定 plane 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 plane 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 plane 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polygon.md b/website/docs/zh-CN/graphics/vc-graphics-polygon.md index 29c88640..9d482f9e 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polygon.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polygon.md @@ -165,7 +165,7 @@ | stRotation | number | `0.0` | `optional` 指定 polygon 纹理按正北方向逆时针旋转角度。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 | | fill | boolean | `true` | `optional` 指定 polygon 是否填充材质。 | -| material | Object\|string\|Array | `'white'` | `optional` 指定 polygon 材质。 | +| material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 polygon 材质。 | | outline | boolean | `false` | `optional` 指定 polygon 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 polygon 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 polygon 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md b/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md index 7c9c46e7..0f09a0f6 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md @@ -117,7 +117,7 @@ | cornerType | number | `0` | `optional` 指定 volume 转角类型。 **ROUNDED: 0, MITERED: 1, BEVELED: 2** |0/1/2| | granularity | number | | `optional` 指定每个经度和纬度之间的角距离。 | | fill | boolean | `true` | `optional` 指定 volume 是否填充材质。 | -| material | Object\|string\|Array | | `optional` 指定 volume 材质。 | +| material | VcMaterial\|string\|Array | | `optional` 指定 volume 材质。 | | outline | boolean | `false` | `optional` 指定 volume 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | | `optional` 指定 volume 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 volume 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polyline.md b/website/docs/zh-CN/graphics/vc-graphics-polyline.md index 197b7a44..9aa3781a 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polyline.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polyline.md @@ -73,7 +73,7 @@ | positions | Array | | `optional` 指定表示线条的位置数组。 | | width | number | `1.0` | `optional` 指定线的宽度(像素)。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 arcType 不是 ArcType.NONE 时有效。 | -| material | Object\|string\|Array | `'white'` | `optional` 指定用于绘制线的材质。 | +| material | VcMaterial\|string\|Array | `'white'` | `optional` 指定用于绘制线的材质。 | | depthFailMaterial | Object\|string\|Array | | `optional` 指定用于绘制低于地形的线的材质。 | | arcType | number | `1` | `optional` 指定线条类型。 **NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2| | clampToGround | boolean | `false` | `optional` 指定线是否贴地。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md index b36dd14f..92a65d2e 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md +++ b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md @@ -103,7 +103,7 @@ | stRotation | number | `0.0` | `optional` 指定 rectangle 按正北逆时针旋转纹理。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 | | fill | boolean | `true` | `optional` 指定 rectangle 是否填充材质。 | -| material | Object\|string\|Array | `'white'` | `optional` 指定 rectangle 材质。 | +| material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 rectangle 材质。 | | outline | boolean | `false` | `optional` 指定 rectangle 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 rectangle 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 rectangle 轮廓线宽度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-wall.md b/website/docs/zh-CN/graphics/vc-graphics-wall.md index 524d20ed..4442ce1e 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-wall.md +++ b/website/docs/zh-CN/graphics/vc-graphics-wall.md @@ -90,7 +90,7 @@ | maximumHeights | Array | | `optional` 指定 wall 顶部的高度数组。 | | granularity | number | | `optional` 指定每个纬度和经度之间的角距离。 | | fill | boolean | `true` | `optional` 指定 wall 是否填充材质。 | -| material | Object\|string\|Array | `'white'` | `optional` 指定 wall 材质。 | +| material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 wall 材质。 | | outline | boolean | `false` | `optional` 指定 wall 是否绘制轮廓线。 | | outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 wall 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 wall 轮廓线宽度。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-polyline.md b/website/docs/zh-CN/primitives/vc-collection-polyline.md index a0a6b3da..d88252b4 100644 --- a/website/docs/zh-CN/primitives/vc-collection-polyline.md +++ b/website/docs/zh-CN/primitives/vc-collection-polyline.md @@ -150,7 +150,7 @@ | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 polyline 显示条件随相机距离改变的参数。 | | id | any | | `optional` 指定与 polyline 关联的信息,拾取时返回该属性值。 | | loop | boolean | false | `optional` 指定 polyline 是否首尾相连。 | -| material | Object\|Array\|string | | `optional` 指定 polyline 材质。 | +| material | VcMaterial\|Array\|string | | `optional` 指定 polyline 材质。 | | positions | Array | | `optional` 指定 polyline 的位置。 | | show | boolean | true | `optional` 指定 polyline 是否显示。 | | width | number | 1.0 | `optional` 指定 polyline 宽度。 | From 381ef1c15cfaf74ae057eb73042cf3dc19cb2d81 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 11:00:45 +0800 Subject: [PATCH 08/16] VcColor --- website/docs/en-US/graphics/vc-graphics-cylinder.md | 2 +- website/docs/en-US/graphics/vc-graphics-ellipse.md | 2 +- website/docs/en-US/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/en-US/graphics/vc-graphics-label.md | 2 +- website/docs/en-US/graphics/vc-graphics-plane.md | 2 +- website/docs/en-US/graphics/vc-graphics-point.md | 2 +- website/docs/en-US/graphics/vc-graphics-polygon.md | 2 +- website/docs/en-US/graphics/vc-graphics-polyline-volume.md | 2 +- website/docs/en-US/graphics/vc-graphics-rectangle.md | 2 +- website/docs/en-US/graphics/vc-graphics-wall.md | 2 +- website/docs/en-US/primitives/vc-collection-label.md | 2 +- website/docs/en-US/primitives/vc-collection-point.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-cylinder.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-ellipse.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-label.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-plane.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-point.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polygon.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-rectangle.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-wall.md | 2 +- website/docs/zh-CN/primitives/vc-collection-label.md | 2 +- website/docs/zh-CN/primitives/vc-collection-point.md | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/website/docs/en-US/graphics/vc-graphics-cylinder.md b/website/docs/en-US/graphics/vc-graphics-cylinder.md index 7aaad8e4..992ecc94 100644 --- a/website/docs/en-US/graphics/vc-graphics-cylinder.md +++ b/website/docs/en-US/graphics/vc-graphics-cylinder.md @@ -83,7 +83,7 @@ Basic usage of the VcGraphicsCylinder component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the cylinder is filled with the provided material. | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the cylinder. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the cylinder is outlined. | -| outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | numberOfVerticalLines | number | `16` | `optional` A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline. | | slices | number | `128` | `optional` The number of edges around the perimeter of the cylinder. | diff --git a/website/docs/en-US/graphics/vc-graphics-ellipse.md b/website/docs/en-US/graphics/vc-graphics-ellipse.md index 658bb644..f0c0d5e8 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipse.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipse.md @@ -99,7 +99,7 @@ Basic usage of the VcGraphicsEllipse component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipse is filled with the provided material. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the ellipse. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the ellipse is outlined. | -| outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | numberOfVerticalLines | number | `16` | `optional` A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the ellipse casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| diff --git a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md index 9bae316e..29aa0197 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipsoid.md @@ -91,7 +91,7 @@ Basic usage of the VcGraphicsEllipsoid component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipsoid is filled with the provided material. | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the ellipsoid. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the ellipsoid is outlined. | -| outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | stackPartitions | number | `64` | `optional` A Property specifying the number of stacks. | | slicePartitions | number | `64` | `optional` A Property specifying the number of radial slices. | diff --git a/website/docs/en-US/graphics/vc-graphics-label.md b/website/docs/en-US/graphics/vc-graphics-label.md index 2eb632c5..ce12f678 100644 --- a/website/docs/en-US/graphics/vc-graphics-label.md +++ b/website/docs/en-US/graphics/vc-graphics-label.md @@ -61,7 +61,7 @@ Basic usage of the VcGraphicsLabel component. | verticalOrigin | number | `0` | `optional` A Property specifying the VerticalOrigin. | | heightReference | number | `0` | `optional` A Property specifying what the height is relative to. | | fillColor | Object\|string\|Array | `white` | `optional` A Property specifying the fill Color. | -| outlineColor | Object\|string\|Array | `black` | `optional` A Property specifying the outline Color. | +| outlineColor | VcColor\|string\|Array | `black` | `optional` A Property specifying the outline Color. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the outline width. | | translucencyByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | | pixelOffsetScaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera. | diff --git a/website/docs/en-US/graphics/vc-graphics-plane.md b/website/docs/en-US/graphics/vc-graphics-plane.md index 8091fd35..ca0f481a 100644 --- a/website/docs/en-US/graphics/vc-graphics-plane.md +++ b/website/docs/en-US/graphics/vc-graphics-plane.md @@ -91,7 +91,7 @@ Basic usage of the VcGraphicsPlane component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the plane is filled with the provided material. | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the plane. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the plane is outlined. | -| outlineColor | Object\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'BLACK'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the plane casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this plane will be displayed. | diff --git a/website/docs/en-US/graphics/vc-graphics-point.md b/website/docs/en-US/graphics/vc-graphics-point.md index 7b7af343..d3d647ac 100644 --- a/website/docs/en-US/graphics/vc-graphics-point.md +++ b/website/docs/en-US/graphics/vc-graphics-point.md @@ -70,7 +70,7 @@ Basic usage of the VcGraphicsPoint component. | pixelSize | number | `1` | `optional` A numeric Property specifying the size in pixels. | | heightReference | number | `0` | `optional` A Property specifying what the height is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | color | Object\|string\|Array | `'white'` | `optional` A Property specifying the Color of the point. | -| outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `0` | `optional` A numeric Property specifying the the outline width in pixels. | | scaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to scale the point based on distance. | | translucencyByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | diff --git a/website/docs/en-US/graphics/vc-graphics-polygon.md b/website/docs/en-US/graphics/vc-graphics-polygon.md index 79a7186b..521b82bf 100644 --- a/website/docs/en-US/graphics/vc-graphics-polygon.md +++ b/website/docs/en-US/graphics/vc-graphics-polygon.md @@ -167,7 +167,7 @@ Basic usage of VcGraphicsPolygon component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the polygon is filled with the provided material. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the polygon. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the polygon is outlined. | -| outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `0` | `optional` A numeric Property specifying the the outline width in pixels. | | perPositionHeight | boolean | `false` | `optional` A boolean specifying whether or not the the height of each position is used. | | closeTop | boolean | `true` | `optional` When false, leaves off the top of an extruded polygon open. | diff --git a/website/docs/en-US/graphics/vc-graphics-polyline-volume.md b/website/docs/en-US/graphics/vc-graphics-polyline-volume.md index 35e13cb7..784a7753 100644 --- a/website/docs/en-US/graphics/vc-graphics-polyline-volume.md +++ b/website/docs/en-US/graphics/vc-graphics-polyline-volume.md @@ -119,7 +119,7 @@ Basic usage of the VcGraphicsPolylineVolume component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the volume is filled with the provided material. | | material | VcMaterial\|string\|Array | | `optional` A Property specifying the material used to fill the volume. | | outline | boolean | false | `optional` A boolean Property specifying whether the volume is outlined. | -| outlineColor | Object\|string\|Array | | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | | `optional` An enum Property specifying whether the box casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this volume will be displayed. | diff --git a/website/docs/en-US/graphics/vc-graphics-rectangle.md b/website/docs/en-US/graphics/vc-graphics-rectangle.md index b7256d13..9126d672 100644 --- a/website/docs/en-US/graphics/vc-graphics-rectangle.md +++ b/website/docs/en-US/graphics/vc-graphics-rectangle.md @@ -104,7 +104,7 @@ Basic usage of VcGraphicsRectangle component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the rectangle is filled with the provided material. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the rectangle. | | outline | boolean | `false` | `optional` A boolean Property specifying whether the rectangle is outlined. | -| outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the rectangle casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this box will be displayed. | diff --git a/website/docs/en-US/graphics/vc-graphics-wall.md b/website/docs/en-US/graphics/vc-graphics-wall.md index 92e90991..da52674d 100644 --- a/website/docs/en-US/graphics/vc-graphics-wall.md +++ b/website/docs/en-US/graphics/vc-graphics-wall.md @@ -92,7 +92,7 @@ Basic usage of the VcGraphicsWall component. | fill | boolean | `true` | `optional` A boolean Property specifying whether the wall is filled with the provided material. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the wall. | | outline | boolean | false | `optional` A boolean Property specifying whether the wall is outlined. | -| outlineColor | Object\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the width of the outline. | | shadows | number | `0` | `optional` An enum Property specifying whether the wall casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this wall will be displayed. | diff --git a/website/docs/en-US/primitives/vc-collection-label.md b/website/docs/en-US/primitives/vc-collection-label.md index a0e45382..6bb4a1c0 100644 --- a/website/docs/en-US/primitives/vc-collection-label.md +++ b/website/docs/en-US/primitives/vc-collection-label.md @@ -176,7 +176,7 @@ Loading a viewport-aligned text positioned in the 3D scene. It is equivalent to | heightReference | number | `0` | `optional` The height reference of this billboard. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` The horizontal origin of this label, which determines if the label is drawn to the left, center, or right of its anchor position. **CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/-1| | id | \* | | `optional` The user-defined value returned when the label is picked. | -| outlineColor | Object\|Array\|string | `'black'` | `optional` The outline color of this label. | +| outlineColor | VcColor\|Array\|string | `'black'` | `optional` The outline color of this label. | | outlineWidth | number | `0` | `optional` The outline width of this label. | | pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this label. | | pixelOffsetScaleByDistance | Object\|Array | | `optional` The near and far pixel offset scaling properties of a Label based on the Label's distance from the camera.| diff --git a/website/docs/en-US/primitives/vc-collection-point.md b/website/docs/en-US/primitives/vc-collection-point.md index fcaa951c..cf713f5a 100644 --- a/website/docs/en-US/primitives/vc-collection-point.md +++ b/website/docs/en-US/primitives/vc-collection-point.md @@ -147,7 +147,7 @@ Loading a graphical point positioned in the 3D scene. It is equivalent to initia | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this point will be displayed. | | id | \* | | `optional` The user-defined value returned when the point is picked. | -| outlineColor | Object \| Array \| string | `'black'` | `optional` The outline color of the point. | +| outlineColor | VcColor \| Array \| string | `'black'` | `optional` The outline color of the point. | | outlineWidth | number | `0` | `optional`The outline width in pixels. This width adds to pixelSize, increasing the total size of the point. | | pixelSize | number | `1` | `optional` The inner size of the point in pixels. | | position | VcPosition\|Array | | `optional` The position of this point. | diff --git a/website/docs/zh-CN/graphics/vc-graphics-cylinder.md b/website/docs/zh-CN/graphics/vc-graphics-cylinder.md index a4e39669..e66461da 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-cylinder.md +++ b/website/docs/zh-CN/graphics/vc-graphics-cylinder.md @@ -83,7 +83,7 @@ | fill | boolean | `true` | `optional` 指定 cylinder 是否填充材质。 | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 cylinder 的材质。 | | outline | boolean | `false` | `optional` 指定 cylinder 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 cylinder 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'BLACK'` | `optional` 指定 cylinder 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 cylinder 轮廓线宽度。 | | numberOfVerticalLines | number | `16` | `optional` 指定沿轮廓线周长绘制的垂直线数。 | | slices | number | `128` | `optional` 指定 cylinder 边节点数量。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipse.md b/website/docs/zh-CN/graphics/vc-graphics-ellipse.md index 74021081..27f96ac0 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipse.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipse.md @@ -99,7 +99,7 @@ | fill | boolean | `true` | `optional` 指定 ellipse 是否填充材质。 | | material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 ellipse 材质。 | | outline | boolean | `false` | `optional` 指定 ellipse 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 ellipse 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` 指定 ellipse 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 ellipse 轮廓线宽度。 | | numberOfVerticalLines | number | `16` | `optional` 指定 ellipse 沿轮廓周长绘制的垂直线数。 | | shadows | number | `0` | `optional` 指定 ellipse 是否投射接收每一个光源的阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| diff --git a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md index 8ea07a42..41273737 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md +++ b/website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md @@ -91,7 +91,7 @@ | fill | boolean | `true` | `optional` 指定 ellipsoid 是否填充材质。 | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 ellipsoid 材质。 | | outline | boolean | `false` | `optional` 指定 ellipsoid 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 ellipsoid 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'BLACK'` | `optional` 指定 ellipsoid 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 ellipsoid 轮廓线宽度。 | | stackPartitions | number | `64` | `optional` 指定 ellipsoid 横向线数量。 | | slicePartitions | number | `64` | `optional` 指定 ellipsoid 径向线数量。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-label.md b/website/docs/zh-CN/graphics/vc-graphics-label.md index 5b67ddd1..b715f512 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-label.md +++ b/website/docs/zh-CN/graphics/vc-graphics-label.md @@ -61,7 +61,7 @@ | verticalOrigin | number | `0` | `optional` 指定 label 垂直对齐方式。 **CENTER: 0, BOTTOM: 1, BASELINE: 2, TOP: -1**|0/1/2/-1| | heightReference | number | `0` | `optional` 指定 label 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | fillColor | Object\|string\|Array | `white` | `optional` 指定 label 填充颜色。 | -| outlineColor | Object\|string\|Array | `black` | `optional` 指定 label 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `black` | `optional` 指定 label 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 label 轮廓线宽度。 | | translucencyByDistance | Object\|Array | | `optional` 指定 label 透明度随相机距离改变的参数。 | | pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 label 偏移量随相机距离改变的参数。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-plane.md b/website/docs/zh-CN/graphics/vc-graphics-plane.md index 64f4666b..21406330 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-plane.md +++ b/website/docs/zh-CN/graphics/vc-graphics-plane.md @@ -91,7 +91,7 @@ | fill | boolean | `true` | `optional` 指定 plane 是否填充材质。 | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 plane 的材质。 | | outline | boolean | `false` | `optional` 指定 plane 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'BLACK'` | `optional` 指定 plane 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'BLACK'` | `optional` 指定 plane 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 plane 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 plane 是否投射或接收阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 plane 随相机距离改变的显示条件。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-point.md b/website/docs/zh-CN/graphics/vc-graphics-point.md index 4486aefa..130c8c6b 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-point.md +++ b/website/docs/zh-CN/graphics/vc-graphics-point.md @@ -70,7 +70,7 @@ | pixelSize | number | `1` | `optional` 指定 point 像素大小。 | | heightReference | number | `0` | `optional` 指定 point 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2**|0/1/2| | color | Object\|string\|Array | `'white'` | `optional` 指定 point 颜色。 | -| outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 point 轮廓颜色。 | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` 指定 point 轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 point 轮廓像素宽度。 | | scaleByDistance | Object\|Array | | `optional` 指定 point 随相机距离改变的缩放参数。 | | translucencyByDistance | Object\|Array | | `optional` 指定 point 随相机距离改变的透明度参数。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polygon.md b/website/docs/zh-CN/graphics/vc-graphics-polygon.md index 9d482f9e..f45279d7 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polygon.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polygon.md @@ -167,7 +167,7 @@ | fill | boolean | `true` | `optional` 指定 polygon 是否填充材质。 | | material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 polygon 材质。 | | outline | boolean | `false` | `optional` 指定 polygon 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 polygon 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` 指定 polygon 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 polygon 轮廓线宽度。 | | perPositionHeight | boolean | `false` | `optional` 指定 polygon 是否使用每个位置的高度。 | | closeTop | boolean | `true` | `optional` 指定 polygon 拉伸出来的顶部是否闭合。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md b/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md index 0f09a0f6..1199b974 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md @@ -119,7 +119,7 @@ | fill | boolean | `true` | `optional` 指定 volume 是否填充材质。 | | material | VcMaterial\|string\|Array | | `optional` 指定 volume 材质。 | | outline | boolean | `false` | `optional` 指定 volume 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | | `optional` 指定 volume 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | | `optional` 指定 volume 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 volume 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 volume 是否投射或接受每个光源的阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 volume 随相机距离改变是否显示参数。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md index 92a65d2e..1880cd83 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md +++ b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md @@ -105,7 +105,7 @@ | fill | boolean | `true` | `optional` 指定 rectangle 是否填充材质。 | | material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 rectangle 材质。 | | outline | boolean | `false` | `optional` 指定 rectangle 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 rectangle 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` 指定 rectangle 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 rectangle 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 rectangle 是否投射或接收阴影。 **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3**|0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 rectangle 随相机距离改变是否显示参数。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-wall.md b/website/docs/zh-CN/graphics/vc-graphics-wall.md index 4442ce1e..73cf1a41 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-wall.md +++ b/website/docs/zh-CN/graphics/vc-graphics-wall.md @@ -92,7 +92,7 @@ | fill | boolean | `true` | `optional` 指定 wall 是否填充材质。 | | material | VcMaterial\|string\|Array | `'white'` | `optional` 指定 wall 材质。 | | outline | boolean | `false` | `optional` 指定 wall 是否绘制轮廓线。 | -| outlineColor | Object\|string\|Array | `'black'` | `optional` 指定 wall 轮廓线颜色。 | +| outlineColor | VcColor\|string\|Array | `'black'` | `optional` 指定 wall 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 wall 轮廓线宽度。 | | shadows | number | `0` | `optional` 指定 wall 是否投射或接收阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 wall 随相机距离改变的显示条件。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-label.md b/website/docs/zh-CN/primitives/vc-collection-label.md index 923a6b81..66877c58 100644 --- a/website/docs/zh-CN/primitives/vc-collection-label.md +++ b/website/docs/zh-CN/primitives/vc-collection-label.md @@ -174,7 +174,7 @@ | heightReference | number | `0` | `optional` 指定 label 高度模式。**NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` 指定 label 水平对齐方式。**CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/-1| | id | \* | | `optional` 指定与 label 关联的信息,拾取时返回该属性值。 | -| outlineColor | Object\|Array\|string | `'black'` | `optional` 指定 label 的轮廓颜色。 | +| outlineColor | VcColor\|Array\|string | `'black'` | `optional` 指定 label 的轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 label 的轮廓宽度。 | | pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` 指定 label 像素偏移量。 | | pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 label 像素偏移量随相机距离改变的参数。| diff --git a/website/docs/zh-CN/primitives/vc-collection-point.md b/website/docs/zh-CN/primitives/vc-collection-point.md index 40afc71c..64478293 100644 --- a/website/docs/zh-CN/primitives/vc-collection-point.md +++ b/website/docs/zh-CN/primitives/vc-collection-point.md @@ -145,7 +145,7 @@ | disableDepthTestDistance | number | | `optional` 指定 point 深度检测距离。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 point 显示条件随相机距离改变的参数。 | | id | \* | | `optional` 指定与 point 关联的信息,拾取时返回该属性值。 | -| outlineColor | Object \| Array \| string | `'black'` | `optional` 指定 point 的轮廓颜色。 | +| outlineColor | VcColor \| Array \| string | `'black'` | `optional` 指定 point 的轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 point 的轮廓宽度。 | | pixelSize | number | `1` | `optional` 指定 point 的像素大小。 | | position | VcPosition\|Array | | `optional` 指定 point 的位置。 | From da5096dc65a432eb22033a9fc4df6c0a2728f751 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 11:11:30 +0800 Subject: [PATCH 09/16] VcCartesian2 --- .../en-US/geometries/vc-geometry-frustum.md | 7 ++++++ .../docs/en-US/graphics/vc-graphics-label.md | 23 ++++++++++++------- .../docs/en-US/graphics/vc-graphics-model.md | 6 ++--- .../docs/en-US/graphics/vc-graphics-point.md | 6 ++--- .../primitives/vc-collection-billboard.md | 12 +++++----- .../en-US/primitives/vc-collection-label.md | 16 ++++++------- .../en-US/primitives/vc-collection-point.md | 6 ++--- .../en-US/primitives/vc-primitive-model.md | 4 ++-- .../en-US/primitives/vc-primitive-particle.md | 2 +- .../en-US/primitives/vc-primitive-tileset.md | 2 +- .../docs/zh-CN/graphics/vc-graphics-label.md | 16 ++++++------- .../docs/zh-CN/graphics/vc-graphics-model.md | 6 ++--- .../docs/zh-CN/graphics/vc-graphics-point.md | 6 ++--- .../primitives/vc-collection-billboard.md | 12 +++++----- .../zh-CN/primitives/vc-collection-label.md | 16 ++++++------- .../zh-CN/primitives/vc-collection-point.md | 6 ++--- .../zh-CN/primitives/vc-primitive-model.md | 4 ++-- .../zh-CN/primitives/vc-primitive-particle.md | 2 +- .../zh-CN/primitives/vc-primitive-tileset.md | 2 +- 19 files changed, 84 insertions(+), 70 deletions(-) diff --git a/website/docs/en-US/geometries/vc-geometry-frustum.md b/website/docs/en-US/geometries/vc-geometry-frustum.md index 2ebfaf24..90833fff 100644 --- a/website/docs/en-US/geometries/vc-geometry-frustum.md +++ b/website/docs/en-US/geometries/vc-geometry-frustum.md @@ -1,3 +1,10 @@ + ## VcGeometryFrustum Loading a frustum geometry. It is equivalent to initializing a `Cesium.FrustumGeometry` instance. diff --git a/website/docs/en-US/graphics/vc-graphics-label.md b/website/docs/en-US/graphics/vc-graphics-label.md index ce12f678..6b17d52d 100644 --- a/website/docs/en-US/graphics/vc-graphics-label.md +++ b/website/docs/en-US/graphics/vc-graphics-label.md @@ -1,3 +1,10 @@ + ## VcGraphicsLabel Loading a label graphic. It is equivalent to initializing a `Cesium.LabelGraphics` instance. @@ -53,19 +60,19 @@ Basic usage of the VcGraphicsLabel component. | labelStyle | number | `0` | `optional` A Property specifying the LabelStyle. **FILL: 0, OUTLINE: 1, FILL_AND_OUTLINE: 2** |0/1/2| | scale | number | `1.0` | `optional` A numeric Property specifying the scale to apply to the text. | | showBackground | boolean | `false` | `optional` A boolean Property specifying the visibility of the background behind the label. | -| backgroundColor | Object\|string\|Array | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` A Property specifying the background Color. | -| backgroundPadding | Object\|Array | `{x: 7, y: 5}` | `optional` A Cartesian2 Property specifying the horizontal and vertical background padding in pixels. | -| pixelOffset | Object\|Array | `{x: 0, y: 0 }` | `optional` A Cartesian2 Property specifying the pixel offset. | -| eyeOffset | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` A Cartesian3 Property specifying the eye offset.| +| backgroundColor | VcColor\|string\|Array | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` A Property specifying the background Color. | +| backgroundPadding | VcCartesian2\|Array | `{x: 7, y: 5}` | `optional` A Cartesian2 Property specifying the horizontal and vertical background padding in pixels. | +| pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0 }` | `optional` A Cartesian2 Property specifying the pixel offset. | +| eyeOffset | VcPosition\|Array | `{x: 0, y: 0, z: 0}` | `optional` A Cartesian3 Property specifying the eye offset.| | horizontalOrigin | number | `0` | `optional` A Property specifying the HorizontalOrigin. | | verticalOrigin | number | `0` | `optional` A Property specifying the VerticalOrigin. | | heightReference | number | `0` | `optional` A Property specifying what the height is relative to. | -| fillColor | Object\|string\|Array | `white` | `optional` A Property specifying the fill Color. | +| fillColor | VcColor\|string\|Array | `white` | `optional` A Property specifying the fill Color. | | outlineColor | VcColor\|string\|Array | `black` | `optional` A Property specifying the outline Color. | | outlineWidth | number | `1.0` | `optional` A numeric Property specifying the outline width. | -| translucencyByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | -| pixelOffsetScaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera. | -| scaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set scale based on distance from the camera. | +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | +| pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera. | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` A NearFarScalar Property used to set scale based on distance from the camera. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this label will be displayed. | | disableDepthTestDistance | number | | `optional` A Property specifying the distance from the camera at which to disable the depth test to. | diff --git a/website/docs/en-US/graphics/vc-graphics-model.md b/website/docs/en-US/graphics/vc-graphics-model.md index ce333554..5aaa19db 100644 --- a/website/docs/en-US/graphics/vc-graphics-model.md +++ b/website/docs/en-US/graphics/vc-graphics-model.md @@ -68,12 +68,12 @@ Basic usage of the VcGraphicsModel component. | clampAnimations | boolean | `true` | `optional` A boolean Property specifying if glTF animations should hold the last pose for time durations with no keyframes. | | shadows | number | `1` | `optional` An enum Property specifying whether the model casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | heightReference | number | `0` | `optional` A Property specifying what the height is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| -| silhouetteColor | Object\|string\|Array | `'red'` | `optional` A Property specifying the Color of the silhouette. | +| silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` A Property specifying the Color of the silhouette. | | silhouetteSize | number | `0.0` | `optional` A numeric Property specifying the size of the silhouette in pixels. | -| color | Object\|string\|Array | `'white'` | `optional` A Property specifying the Color that blends with the model's rendered color. | +| color | VcColor\|string\|Array | `'white'` | `optional` A Property specifying the Color that blends with the model's rendered color. | | colorBlendMode | number | `0` | `optional` An enum Property specifying how the color blends with the model. **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** |0/1/2| | colorBlendAmount | number | `0.5` | `optional` A numeric Property specifying the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | -| imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` A property specifying the contribution from diffuse and specular image-based lighting. | +| imageBasedLightingFactor | VcCartesian2\|Array | `{x: 1.0, y: 1.0}` | `optional` A property specifying the contribution from diffuse and specular image-based lighting. | | lightColor | Object\|string\|Array | | `optional` A property specifying the light color to use when shading the model. The default sun light color will be used when undefined. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera.A Property specifying at what distance from the camera that this model will be displayed. | | nodeTransformations | Cesium.TranslationRotationScale | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. | diff --git a/website/docs/en-US/graphics/vc-graphics-point.md b/website/docs/en-US/graphics/vc-graphics-point.md index d3d647ac..58ebb09c 100644 --- a/website/docs/en-US/graphics/vc-graphics-point.md +++ b/website/docs/en-US/graphics/vc-graphics-point.md @@ -69,11 +69,11 @@ Basic usage of the VcGraphicsPoint component. | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the point. | | pixelSize | number | `1` | `optional` A numeric Property specifying the size in pixels. | | heightReference | number | `0` | `optional` A Property specifying what the height is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| -| color | Object\|string\|Array | `'white'` | `optional` A Property specifying the Color of the point. | +| color | VcColor\|string\|Array | `'white'` | `optional` A Property specifying the Color of the point. | | outlineColor | VcColor\|string\|Array | `'black'` | `optional` A Property specifying the Color of the outline. | | outlineWidth | number | `0` | `optional` A numeric Property specifying the the outline width in pixels. | -| scaleByDistance | Object\|Array | | `optional` A NearFarScalar Property used to scale the point based on distance. | -| translucencyByDistance | Object\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` A NearFarScalar Property used to scale the point based on distance. | +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` A NearFarScalar Property used to set translucency based on distance from the camera. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A Property specifying at what distance from the camera that this point will be displayed. | | disableDepthTestDistance | number | | `optional` A Property specifying the distance from the camera at which to disable the depth test to. | diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index df2405fd..a6621aa4 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -147,24 +147,24 @@ Loading a viewport-aligned image positioned in the 3D scene. It is equivalent to | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | | alignedAxis | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` The aligned axis in world space. The aligned axis is the unit vector that the billboard up vector points towards. The default is the zero vector, which means the billboard is aligned to the screen up vector. | -| color | Object\|string\|Array | `'white'` | `optional` The color that is multiplied with the billboard's texture. | +| color | VcColor\|string\|Array | `'white'` | `optional` The color that is multiplied with the billboard's texture. | | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this billboard will be displayed.| -| eyeOffset | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` The 3D Cartesian offset applied to this billboard in eye coordinates.| +| eyeOffset | VcPosition\|Array | `{x: 0, y: 0, z: 0}` | `optional` The 3D Cartesian offset applied to this billboard in eye coordinates.| | height | number | | `optional` The height for the billboard. If undefined, the image height will be used. | | heightReference | number | `0` | `optional` The height reference of this billboard. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` The horizontal origin of this billboard, which determines if the billboard is to the left, center, or right of its anchor position. **CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/2| | id | \* | | `optional` The user-defined object returned when the billboard is picked. | | image | string\|Object | | `optional` The image to be used for this billboard. If a texture has already been created for the given image, the existing texture is used. | -| pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this billboard. | -| pixelOffsetScaleByDistance | Object\|Array | | `optional` The near and far pixel offset scaling properties of a Billboard based on the billboard's distance from the camera.| +| pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this billboard. | +| pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` The near and far pixel offset scaling properties of a Billboard based on the billboard's distance from the camera.| | position | VcPosition\|Array | | `optional` The position of this billboard.| | rotation | number | `0` | `optional` The rotation angle in radians. | | scale | number | `1.0` | `optional` The uniform scale that is multiplied with the billboard's image size in pixels. | -| scaleByDistance | Object\|Array | | `optional` The near and far scaling properties of a Billboard based on the billboard's distance from the camera.| +| scaleByDistance | VcNearFarScalar\|Array | | `optional` The near and far scaling properties of a Billboard based on the billboard's distance from the camera.| | show | boolean | `true` | `optional` Determines if this billboard will be shown. Use this to hide or show a billboard, instead of removing it and re-adding it to the collection. | | sizeInMeters | boolean | | `optional` Determines if the billboard size is in meters or pixels. true to size the billboard in meters; otherwise, the size is in pixels. | -| translucencyByDistance | Object\|Array | | `optional` The near and far translucency properties of a Billboard based on the billboard's distance from the camera.| +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` The near and far translucency properties of a Billboard based on the billboard's distance from the camera.| | verticalOrigin | number | `0` | `optional` The vertical origin of this billboard, which determines if the billboard is to the above, below, or at the center of its anchor position. **CENTER: 0, BOTTOM: 1, BASELINE: 2, TOP: -1** |0/1/2/-1| | width | number | | `optional` The width for the billboard. If undefined, the image width will be used. | | enableMouseEvent | boolean | `true` | `optional` Specify whether the mouse event takes effect. | diff --git a/website/docs/en-US/primitives/vc-collection-label.md b/website/docs/en-US/primitives/vc-collection-label.md index 6bb4a1c0..2ab4e056 100644 --- a/website/docs/en-US/primitives/vc-collection-label.md +++ b/website/docs/en-US/primitives/vc-collection-label.md @@ -166,29 +166,29 @@ Loading a viewport-aligned text positioned in the 3D scene. It is equivalent to | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| backgroundColor | Object\|Array\|string | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` The background color of this label. | -| backgroundPadding | Object\|Array | | `optional` The background padding, in pixels, of this label.| +| backgroundColor | VcColor\|Array\|string | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` The background color of this label. | +| backgroundPadding | VcCartesian2\|Array | | `optional` The background padding, in pixels, of this label.| | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this label will be displayed. | -| eyeOffset | Object\Array | `{x: 0, y: 0, z: 0}` | `optional` The 3D Cartesian offset applied to this label in eye coordinates.| -| fillColor | Object\|string\|Array | `white` | `optional` The fill color of this label. | +| eyeOffset | VcPosition\Array | `{x: 0, y: 0, z: 0}` | `optional` The 3D Cartesian offset applied to this label in eye coordinates.| +| fillColor | VcColor\|string\|Array | `white` | `optional` The fill color of this label. | | font | string | `'30px sans-serif'` | `optional` The font used to draw this label. Fonts are specified using the same syntax as the CSS 'font' property. | | heightReference | number | `0` | `optional` The height reference of this billboard. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` The horizontal origin of this label, which determines if the label is drawn to the left, center, or right of its anchor position. **CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/-1| | id | \* | | `optional` The user-defined value returned when the label is picked. | | outlineColor | VcColor\|Array\|string | `'black'` | `optional` The outline color of this label. | | outlineWidth | number | `0` | `optional` The outline width of this label. | -| pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this label. | -| pixelOffsetScaleByDistance | Object\|Array | | `optional` The near and far pixel offset scaling properties of a Label based on the Label's distance from the camera.| +| pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this label. | +| pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` The near and far pixel offset scaling properties of a Label based on the Label's distance from the camera.| | position | VcPosition | | `optional` The position of this label.| | scale | number | `1.0` | `optional` The uniform scale that is multiplied with the label's size in pixels. | -| scaleByDistance | Object\|Array | | `optional` The near and far scaling properties of a Label based on the label's distance from the camera. | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` The near and far scaling properties of a Label based on the label's distance from the camera. | | show | boolean | `true` | `optional` Determines if this label will be shown. Use this to hide or show a label, instead of removing it and re-adding it to the collection. | | showBackground | boolean | `false` | `optional` Determines if a background behind this label will be shown. | | labelStyle | number | `0` | `optional` The style of this label. **FILL: 0, OUTLINE: 1, FILL_AND_OUTLINE: 2** |0/1/2| | text | string | | `optional` The text of this label. | | totalScale | number | `1.0` | `optional` The total scale of the label, which is the label's scale multiplied by the computed relative size of the desired font compared to the generated glyph size. | -| translucencyByDistance | Object\|Array | | `optional` The near and far translucency properties of a Label based on the Label's distance from the camera.| +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` The near and far translucency properties of a Label based on the Label's distance from the camera.| | verticalOrigin | number | `0` | `optional` The vertical origin of this label, which determines if the label is to the above, below, or at the center of its anchor position.**CENTER: 0, BOTTOM: 1, BASELINE: 2, TOP: -1** |0/1/2/-1| | enableMouseEvent | boolean | `true` | `optional` Specify whether the mouse event takes effect. | diff --git a/website/docs/en-US/primitives/vc-collection-point.md b/website/docs/en-US/primitives/vc-collection-point.md index cf713f5a..707b350e 100644 --- a/website/docs/en-US/primitives/vc-collection-point.md +++ b/website/docs/en-US/primitives/vc-collection-point.md @@ -143,7 +143,7 @@ Loading a graphical point positioned in the 3D scene. It is equivalent to initia | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| color | Object\|Array\|string | `'white'` | `optional` The inner color of the point. | +| color | VcColor\|Array\|string | `'white'` | `optional` The inner color of the point. | | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this point will be displayed. | | id | \* | | `optional` The user-defined value returned when the point is picked. | @@ -151,9 +151,9 @@ Loading a graphical point positioned in the 3D scene. It is equivalent to initia | outlineWidth | number | `0` | `optional`The outline width in pixels. This width adds to pixelSize, increasing the total size of the point. | | pixelSize | number | `1` | `optional` The inner size of the point in pixels. | | position | VcPosition\|Array | | `optional` The position of this point. | -| scaleByDistance | Object\|Array | | `optional` The near and far scaling properties of a point based on the point's distance from the camera | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` The near and far scaling properties of a point based on the point's distance from the camera | | show | boolean | `true` | `optional` Determines if this point will be shown. Use this to hide or show a point, instead of removing it and re-adding it to the collection. | -| translucencyByDistance | Object\|Array | | `optional` The near and far translucency properties of a point based on the point's distance from the camera. | +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` The near and far translucency properties of a point based on the point's distance from the camera. | | enableMouseEvent | boolean | `true` | `optional` Specify whether the mouse event takes effect. | ### VcPoint Events diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index 815bfb23..4bc77602 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -132,10 +132,10 @@ Basic usage of VcPrimitiveGround component. | heightReference | number | `0` | `optional` Determines how the model is drawn relative to terrain. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** | | scene | Object | `false` | `optional` Must be passed in for models that use the height reference property. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this model will be displayed. | -| color | Object\|string\|Array | `'white'` | `optional` A color that blends with the model's rendered color. | +| color | VcColor\|string\|Array | `'white'` | `optional` A color that blends with the model's rendered color. | | colorBlendMode | number | `0` | `optional` Defines how the color blends with the model. **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** |0/1/2| | colorBlendAmount | number | `0.5` | `optional` Value used to determine the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | -| silhouetteColor | Object\|string\|Array | `'red'` | `optional` The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts. | +| silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts. | | silhouetteSize | number | `0.0` | `optional` The size of the silhouette in pixels. | | clippingPlanes | Object | | `optional` The ClippingPlaneCollection used to selectively disable rendering the model. | | dequantizeInShader | boolean | `true` | `optional` Determines if a Draco encoded model is dequantized on the GPU. This decreases total memory usage for encoded models.| diff --git a/website/docs/en-US/primitives/vc-primitive-particle.md b/website/docs/en-US/primitives/vc-primitive-particle.md index 658527ea..f9efab33 100644 --- a/website/docs/en-US/primitives/vc-primitive-particle.md +++ b/website/docs/en-US/primitives/vc-primitive-particle.md @@ -230,7 +230,7 @@ Basic usage of VcPrimitiveParticle component. | 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 | Object\|Array\|string | | `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. | diff --git a/website/docs/en-US/primitives/vc-primitive-tileset.md b/website/docs/en-US/primitives/vc-primitive-tileset.md index 8f2c8786..e77c4c24 100644 --- a/website/docs/en-US/primitives/vc-primitive-tileset.md +++ b/website/docs/en-US/primitives/vc-primitive-tileset.md @@ -93,7 +93,7 @@ Basic usage of VcPrimitiveTileset component. | 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. | -| imageBasedLightingFactor | Object\|Array | `[1.0, 1.0]` | `optional` Scales the diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox. | +| 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 | Object\|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. | | sphericalHarmonicCoefficients | Array || `optional` The third order spherical harmonic coefficients used for the diffuse color of image-based lighting. | diff --git a/website/docs/zh-CN/graphics/vc-graphics-label.md b/website/docs/zh-CN/graphics/vc-graphics-label.md index b715f512..aaf0e153 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-label.md +++ b/website/docs/zh-CN/graphics/vc-graphics-label.md @@ -53,19 +53,19 @@ | labelStyle | number | `0` | `optional` 指定 label 绘制风格。 **FILL: 0, OUTLINE: 1, FILL_AND_OUTLINE: 2** |0/1/2| | scale | number | `1.0` | `optional` 指定 label 缩放比例。 | | showBackground | boolean | `false` | `optional` 指定 label 是否显示背景。 | -| backgroundColor | Object\|string\|Array | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` 指定 label 背景颜色。 | -| backgroundPadding | Object\|Array | `{x: 7, y: 5}` | `optional` 指定 label 背景偏移量。 | -| pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` 指定 label 像素偏移量。 | -| eyeOffset | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 label 视角偏移量。 | +| backgroundColor | VcColor\|string\|Array | `{ x: 0.165, y: 0.165, z: 0.165, w: 0.8 }` | `optional` 指定 label 背景颜色。 | +| backgroundPadding | VcCartesian2\|Array | `{x: 7, y: 5}` | `optional` 指定 label 背景偏移量。 | +| pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` 指定 label 像素偏移量。 | +| eyeOffset | VcPosition\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 label 视角偏移量。 | | horizontalOrigin | number | `0` | `optional` 指定 label 水平对齐方式。 **CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/-1| | verticalOrigin | number | `0` | `optional` 指定 label 垂直对齐方式。 **CENTER: 0, BOTTOM: 1, BASELINE: 2, TOP: -1**|0/1/2/-1| | heightReference | number | `0` | `optional` 指定 label 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| -| fillColor | Object\|string\|Array | `white` | `optional` 指定 label 填充颜色。 | +| fillColor | VcColor\|string\|Array | `white` | `optional` 指定 label 填充颜色。 | | outlineColor | VcColor\|string\|Array | `black` | `optional` 指定 label 轮廓线颜色。 | | outlineWidth | number | `1.0` | `optional` 指定 label 轮廓线宽度。 | -| translucencyByDistance | Object\|Array | | `optional` 指定 label 透明度随相机距离改变的参数。 | -| pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 label 偏移量随相机距离改变的参数。 | -| scaleByDistance | Object\|Array | | `optional` 指定 label 缩放随相机距离改变的参数。 | +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` 指定 label 透明度随相机距离改变的参数。 | +| pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 label 偏移量随相机距离改变的参数。 | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 label 缩放随相机距离改变的参数。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 label 相机距离的显示条件。 | | disableDepthTestDistance | number | | `optional` 指定 label 的深度测试距离。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-model.md b/website/docs/zh-CN/graphics/vc-graphics-model.md index 7a335db2..046ed799 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-model.md +++ b/website/docs/zh-CN/graphics/vc-graphics-model.md @@ -68,12 +68,12 @@ | clampAnimations | boolean | `true` | `optional` 指定动画在没有帧动画的时候保持最后一个姿势。 | | shadows | number | `1` | `optional` 指定 model 是否投射或接收每个光源的阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| | heightReference | number | `0` | `optional` 指定 model 的高度模式。**NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| -| silhouetteColor | Object\|string\|Array | `'red'` | `optional` 指定 model 轮廓线颜色。 | +| silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` 指定 model 轮廓线颜色。 | | silhouetteSize | number | `0.0` | `optional` 指定 model 轮廓线像素尺寸。 | -| color | Object\|string\|Array | `'white'` | `optional` 指定 model 渲染混合的颜色。 | +| color | VcColor\|string\|Array | `'white'` | `optional` 指定 model 渲染混合的颜色。 | | colorBlendMode | number | `0` | `optional` 指定 model 与颜色混合模式。 **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** | 0/1/2 | | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | -| imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` 指定漫反射和镜面反射因子。 | +| imageBasedLightingFactor | VcCartesian2\|Array | `{x: 1.0, y: 1.0}` | `optional` 指定漫反射和镜面反射因子。 | | lightColor | Object\|string\|Array | | `optional` 指定着色模型时要使用的灯光颜色的属性。未指定是太阳颜色。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定模型随相机改变的显示条件。 | | nodeTransformations | Cesium.TranslationRotationScale | | `optional` 设置 TranslationRotationScale 节点转换参数。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-point.md b/website/docs/zh-CN/graphics/vc-graphics-point.md index 130c8c6b..543e4a13 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-point.md +++ b/website/docs/zh-CN/graphics/vc-graphics-point.md @@ -69,11 +69,11 @@ | show | boolean | `true` | `optional` 指定 point 是否显示。 | | pixelSize | number | `1` | `optional` 指定 point 像素大小。 | | heightReference | number | `0` | `optional` 指定 point 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2**|0/1/2| -| color | Object\|string\|Array | `'white'` | `optional` 指定 point 颜色。 | +| color | VcColor\|string\|Array | `'white'` | `optional` 指定 point 颜色。 | | outlineColor | VcColor\|string\|Array | `'black'` | `optional` 指定 point 轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 point 轮廓像素宽度。 | -| scaleByDistance | Object\|Array | | `optional` 指定 point 随相机距离改变的缩放参数。 | -| translucencyByDistance | Object\|Array | | `optional` 指定 point 随相机距离改变的透明度参数。 | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 point 随相机距离改变的缩放参数。 | +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` 指定 point 随相机距离改变的透明度参数。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 point 随相机距离显隐参数。 | | disableDepthTestDistance | number | | `optional` 指定 point 深度测试参数。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index ca1f43ff..77067aad 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -145,24 +145,24 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------------------------ | ------- | ------------------ | ------------------------------------------- |---| | alignedAxis | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 按单位矢量轴旋转参数。 | -| color | Object\|string\|Array | `'white'` | `optional` 指定 billboard 图片的颜色。 | +| color | VcColor\|string\|Array | `'white'` | `optional` 指定 billboard 图片的颜色。 | | disableDepthTestDistance | number | | `optional` 指定 billboard 的深度检测距离。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 billboard 显示条件随相机距离改变的参数。 | -| eyeOffset | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 视角偏移量。| +| eyeOffset | VcPosition\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 视角偏移量。| | height | number | | `optional` 指定 billboard 的高度(像素)。 | | heightReference | number | `0` | `optional` 指定 billboard 高度模式。**NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` 指定 billboard 水平对齐方式。**CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/2| | id | \* | | `optional` 指定与 billboard 关联的信息,拾取时返回该属性值。 | | image | string\|Object | | `optional` 指定 billboard 加载的的 Image、 URI 或者 Canvas。 | -| pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` 指定 billboard 像素偏移量。 | -| pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 billboard 像素偏移量随相机距离改变的参数。| +| pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` 指定 billboard 像素偏移量。 | +| pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 billboard 像素偏移量随相机距离改变的参数。| | position | VcPosition\|Array | | `optional` 指定 billboard 的位置。| | rotation | number | `0` | `optional` 指定 billboard 沿 x 轴方向旋转的角度。 | | scale | number | `1.0` | `optional` 指定 billboard 缩放比例。 | -| scaleByDistance | Object\|Array | | `optional` 指定 billboard 随缩比例随相机距离改变的参数。| +| scaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 billboard 随缩比例随相机距离改变的参数。| | show | boolean | `true` | `optional` 指定 billboard 是否显示。 | | sizeInMeters | boolean | | `optional` 指定 billboard 的单位是否是米。 | -| translucencyByDistance | Object\|Array | | `optional` 指定 billboard 透明度随相机距离改变参数。| +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` 指定 billboard 透明度随相机距离改变参数。| | verticalOrigin | number | `0` | `optional` 指定 billboard 垂直对齐方式。**CENTER: 0, BOTTOM: 1, BASELINE: 2, TOP: -1** |0/1/2/-1| | width | number | | `optional` 指定 billboard 的宽度(像素)。 | | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-label.md b/website/docs/zh-CN/primitives/vc-collection-label.md index 66877c58..b9450c2d 100644 --- a/website/docs/zh-CN/primitives/vc-collection-label.md +++ b/website/docs/zh-CN/primitives/vc-collection-label.md @@ -164,29 +164,29 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------------------------ | ------- | ------------------ | ------------------------------------------- |---| -| backgroundColor | Object\|Array\|string | { x: 0.165, y: 0.165, z: 0.165, w: 0.8 } | `optional` 指定 label 背景颜色。 | -| backgroundPadding | Object\|Array | | `optional` 指定 label 背景x、y方向偏移量。| +| backgroundColor | VcColor\|Array\|string | { x: 0.165, y: 0.165, z: 0.165, w: 0.8 } | `optional` 指定 label 背景颜色。 | +| backgroundPadding | VcCartesian2\|Array | | `optional` 指定 label 背景x、y方向偏移量。| | disableDepthTestDistance | number | | `optional` 指定 label 的深度检测距离。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 label 显示条件随相机距离改变的参数。 | -| eyeOffset | Object\Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 label 视角偏移量。| -| fillColor | Object\|string\|Array | `white` | `optional` 指定 label 填充颜色。 | +| eyeOffset | VcPosition\Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 label 视角偏移量。| +| fillColor | VcColor\|string\|Array | `white` | `optional` 指定 label 填充颜色。 | | font | string | `'30px sans-serif'` | `optional` 指定 label CSS 字体。 | | heightReference | number | `0` | `optional` 指定 label 高度模式。**NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` 指定 label 水平对齐方式。**CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/-1| | id | \* | | `optional` 指定与 label 关联的信息,拾取时返回该属性值。 | | outlineColor | VcColor\|Array\|string | `'black'` | `optional` 指定 label 的轮廓颜色。 | | outlineWidth | number | `0` | `optional` 指定 label 的轮廓宽度。 | -| pixelOffset | Object\|Array | `{x: 0, y: 0}` | `optional` 指定 label 像素偏移量。 | -| pixelOffsetScaleByDistance | Object\|Array | | `optional` 指定 label 像素偏移量随相机距离改变的参数。| +| pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` 指定 label 像素偏移量。 | +| pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 label 像素偏移量随相机距离改变的参数。| | position | VcPosition | | `optional` 指定 label 的位置。| | scale | number | `1.0` | `optional` 指定 label 缩放比例。 | -| scaleByDistance | Object\|Array | | `optional` 指定 label 的缩放比例随相机距离改变的参数。| +| scaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 label 的缩放比例随相机距离改变的参数。| | show | boolean | `true` | `optional` 指定 label 是否显示。 | | showBackground | boolean | `false` | `optional` 指定 label 是否显示背景。 | | labelStyle | number | `0` | `optional` 指定 label 绘制风格。**FILL: 0, OUTLINE: 1, FILL_AND_OUTLINE: 2** |0/1/2| | text | string | | `optional` 指定 label 文字,支持'\n'换行符。 | | totalScale | number | `1.0` | `optional` 获取 label 的总比例,该比例是标签的比例乘以所计算的所需字体的相对大小与生成的字形大小的比例。 | -| translucencyByDistance | Object\|Array | | `optional` 指定 label 透明度随相机距离改变的参数。| +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` 指定 label 透明度随相机距离改变的参数。| | verticalOrigin | number | `0` | `optional` 指定 label 垂直对齐方式。**CENTER: 0, BOTTOM: 1, BASELINE: 2, TOP: -1** |0/1/2/-1| | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-point.md b/website/docs/zh-CN/primitives/vc-collection-point.md index 64478293..711637ae 100644 --- a/website/docs/zh-CN/primitives/vc-collection-point.md +++ b/website/docs/zh-CN/primitives/vc-collection-point.md @@ -141,7 +141,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------------------------ | ------------------------- | --------- | -------------------------------------------------------- | -| color | Object\|Array\|string | `'white'` | `optional` 指定 point 的颜色。 | +| color | VcColor\|Array\|string | `'white'` | `optional` 指定 point 的颜色。 | | disableDepthTestDistance | number | | `optional` 指定 point 深度检测距离。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 point 显示条件随相机距离改变的参数。 | | id | \* | | `optional` 指定与 point 关联的信息,拾取时返回该属性值。 | @@ -149,9 +149,9 @@ | outlineWidth | number | `0` | `optional` 指定 point 的轮廓宽度。 | | pixelSize | number | `1` | `optional` 指定 point 的像素大小。 | | position | VcPosition\|Array | | `optional` 指定 point 的位置。 | -| scaleByDistance | Object\|Array | | `optional` 指定 point 缩放比例随相机距离改变的参数。 | +| scaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 point 缩放比例随相机距离改变的参数。 | | show | boolean | `true` | `optional` 指定 point 是否显示。 | -| translucencyByDistance | Object\|Array | | `optional` 指定 point 透明度随相机距离改变的参数。 | +| translucencyByDistance | VcNearFarScalar\|Array | | `optional` 指定 point 透明度随相机距离改变的参数。 | | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | ### VcPoint 事件 diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index 9637df6b..48f417f6 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -128,10 +128,10 @@ | heightReference | number | `0` | `optional` 指定 model 的高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | scene | Object | `false` | `optional` 指定model的scene参数,使用 heightReference 属性的模型必须传递。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 model 随相机改变的显示条件。| -| color | Object\|string\|Array | `'white'` | `optional` 指定 model 渲染混合的颜色。 | +| color | VcColor\|string\|Array | `'white'` | `optional` 指定 model 渲染混合的颜色。 | | colorBlendMode | number | `0` | `optional` 指定 model 与颜色混合模式。 **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** | | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | -| silhouetteColor | Object\|string\|Array | `'red'` | `optional` 指定 model 轮廓线颜色。 | +| silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` 指定 model 轮廓线颜色。 | | silhouetteSize | number | `0.0` | `optional` 指定 model 轮廓线像素尺寸。 | | clippingPlanes | Object | | `optional` 指定 model 屏幕裁剪参数。 | | dequantizeInShader | boolean | `true` | `optional` 确定是否在 GPU 上对 Draco 编码的模型进行了反量化。 这减少了编码模型的总内存使用量。| diff --git a/website/docs/zh-CN/primitives/vc-primitive-particle.md b/website/docs/zh-CN/primitives/vc-primitive-particle.md index 4bb74239..309ca838 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-particle.md +++ b/website/docs/zh-CN/primitives/vc-primitive-particle.md @@ -230,7 +230,7 @@ | scale | number | `1.0` | `optional` 设置比例尺,以在其粒子寿命期间应用到粒子图像。 | | startScale | number | | `optional` 在粒子寿命开始时应用于粒子图像的初始比例。| | endScale | number | | `optional` 在粒子寿命结束时应用于粒子图像的最终比例。 | -| color | Object\|Array\|string | | `optional` 设置粒子在其粒子寿命期间的颜色。 | +| color | VcColor\|Array\|string | | `optional` 设置粒子在其粒子寿命期间的颜色。 | | startColor | Object\|Array\|string | | `optional` 粒子在其生命初期的颜色。 | | endColor | Object\|Array\|string | | `optional` 粒子寿命结束时的颜色。| | image | Object\|string | | `optional` 用于广告牌的URI,HTMLImageElement或HTMLCanvasElement。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-tileset.md b/website/docs/zh-CN/primitives/vc-primitive-tileset.md index 51d6271b..4255db3d 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-tileset.md +++ b/website/docs/zh-CN/primitives/vc-primitive-tileset.md @@ -97,7 +97,7 @@ | 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 对象以基于几何误差和光照控制点衰减的选项。 | -| imageBasedLightingFactor | Object\|Array | `[1.0, 1.0]` | `optional` 地球、天空、大气层的光照缩放因子。 | +| imageBasedLightingFactor | VcCartesian2\|Array | `[1.0, 1.0]` | `optional` 地球、天空、大气层的光照缩放因子。 | | lightColor | Object\|Array | | `optional` 模型阴影的颜色和强度。 | | luminanceAtZenith | number | `0.2` | `optional` 太阳在天顶的亮度,以每平方米千坎德拉为单位,用于该模型的过程环境图。 | | sphericalHarmonicCoefficients | Array || `optional` 用于基于图像的照明的漫反射颜色的三阶球面谐波系数。 | From a99acd2cb5d957d41f6aa7b3cf2ecc84286650ac Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 11:16:37 +0800 Subject: [PATCH 10/16] ClippingPlaneCollection --- website/docs/en-US/graphics/vc-graphics-model.md | 6 +++--- website/docs/en-US/primitives/vc-primitive-model.md | 2 +- website/docs/en-US/primitives/vc-primitive-tileset.md | 4 ++-- website/docs/zh-CN/graphics/vc-graphics-model.md | 6 +++--- website/docs/zh-CN/primitives/vc-primitive-model.md | 2 +- website/docs/zh-CN/primitives/vc-primitive-tileset.md | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/website/docs/en-US/graphics/vc-graphics-model.md b/website/docs/en-US/graphics/vc-graphics-model.md index 5aaa19db..3617bc5d 100644 --- a/website/docs/en-US/graphics/vc-graphics-model.md +++ b/website/docs/en-US/graphics/vc-graphics-model.md @@ -74,11 +74,11 @@ Basic usage of the VcGraphicsModel component. | colorBlendMode | number | `0` | `optional` An enum Property specifying how the color blends with the model. **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** |0/1/2| | colorBlendAmount | number | `0.5` | `optional` A numeric Property specifying the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | | imageBasedLightingFactor | VcCartesian2\|Array | `{x: 1.0, y: 1.0}` | `optional` A property specifying the contribution from diffuse and specular image-based lighting. | -| lightColor | Object\|string\|Array | | `optional` A property specifying the light color to use when shading the model. The default sun light color will be used when undefined. | +| lightColor | VcColor\|string\|Array | | `optional` A property specifying the light color to use when shading the model. The default sun light color will be used when undefined. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera.A Property specifying at what distance from the camera that this model will be displayed. | | nodeTransformations | Cesium.TranslationRotationScale | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. | -| articulations | Object | | `optional` An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties. | -| clippingPlanes | Object | | `optional` A property specifying the ClippingPlaneCollection used to selectively disable rendering the model. | +| articulations | any | | `optional` An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties. | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `optional` A property specifying the ClippingPlaneCollection used to selectively disable rendering the model. | ### Events diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index 4bc77602..325e26f7 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -137,7 +137,7 @@ Basic usage of VcPrimitiveGround component. | colorBlendAmount | number | `0.5` | `optional` Value used to determine the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | | silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts. | | silhouetteSize | number | `0.0` | `optional` The size of the silhouette in pixels. | -| clippingPlanes | Object | | `optional` The ClippingPlaneCollection used to selectively disable rendering the model. | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `optional` The ClippingPlaneCollection used to selectively disable rendering the model. | | dequantizeInShader | boolean | `true` | `optional` Determines if a Draco encoded model is dequantized on the GPU. This decreases total memory usage for encoded models.| | imageBasedLightingFactor | Array\|Object | | `optional` Scales diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox.| | lightColor | Array\|Object | | `optional` The light color when shading the model. When undefined the scene's light color is used instead. | diff --git a/website/docs/en-US/primitives/vc-primitive-tileset.md b/website/docs/en-US/primitives/vc-primitive-tileset.md index e77c4c24..b2bdae53 100644 --- a/website/docs/en-US/primitives/vc-primitive-tileset.md +++ b/website/docs/en-US/primitives/vc-primitive-tileset.md @@ -89,12 +89,12 @@ 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 | Object | | `optional` The ClippingPlaneCollection used to selectively disable rendering the tileset. | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `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. | | 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 | Object\|Array | | `optional` The light color when shading models. When undefined the scene's light color is used instead. | +| 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. | | sphericalHarmonicCoefficients | Array || `optional` The third order spherical harmonic coefficients used for the diffuse color of image-based lighting. | | specularEnvironmentMaps | string | | `optional` A URL to a KTX file that contains a cube map of the specular lighting and the convoluted specular mipmaps. | diff --git a/website/docs/zh-CN/graphics/vc-graphics-model.md b/website/docs/zh-CN/graphics/vc-graphics-model.md index 046ed799..b38664a3 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-model.md +++ b/website/docs/zh-CN/graphics/vc-graphics-model.md @@ -74,11 +74,11 @@ | colorBlendMode | number | `0` | `optional` 指定 model 与颜色混合模式。 **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** | 0/1/2 | | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | | imageBasedLightingFactor | VcCartesian2\|Array | `{x: 1.0, y: 1.0}` | `optional` 指定漫反射和镜面反射因子。 | -| lightColor | Object\|string\|Array | | `optional` 指定着色模型时要使用的灯光颜色的属性。未指定是太阳颜色。 | +| lightColor | VcColor\|string\|Array | | `optional` 指定着色模型时要使用的灯光颜色的属性。未指定是太阳颜色。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定模型随相机改变的显示条件。 | | nodeTransformations | Cesium.TranslationRotationScale | | `optional` 设置 TranslationRotationScale 节点转换参数。 | -| articulations | Object | | `optional` | -| clippingPlanes | Object | | `optional` 指定模型屏幕裁剪参数。 | +| articulations | any | | `optional` | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `optional` 指定模型屏幕裁剪参数。 | ### 事件 diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index 48f417f6..087ae081 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -133,7 +133,7 @@ | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | | silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` 指定 model 轮廓线颜色。 | | silhouetteSize | number | `0.0` | `optional` 指定 model 轮廓线像素尺寸。 | -| clippingPlanes | Object | | `optional` 指定 model 屏幕裁剪参数。 | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `optional` 指定 model 屏幕裁剪参数。 | | dequantizeInShader | boolean | `true` | `optional` 确定是否在 GPU 上对 Draco 编码的模型进行了反量化。 这减少了编码模型的总内存使用量。| | imageBasedLightingFactor | Array\|Object | | `optional` 缩放来自地球,天空,大气层和星空盒的基于漫反射和镜面反射图像的照明。| | lightColor | Array\|Object | | `optional` 为模型着色时的浅色。 未定义时,将使用场景的灯光颜色。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-tileset.md b/website/docs/zh-CN/primitives/vc-primitive-tileset.md index 4255db3d..9bc005f9 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-tileset.md +++ b/website/docs/zh-CN/primitives/vc-primitive-tileset.md @@ -93,12 +93,12 @@ | skipLevels | number | 1 | `optional`当 skipLevelOfDetail 为 true 时,一个常量定义加载切片时要跳过的最小级别数。 当它为 0 时,不会跳过任何级别。与 skipScreenSpaceErrorFactor 结合使用以确定要加载的切片。 | | immediatelyLoadDesiredLevelOfDetail | boolean | false | `optional` 当 skipLevelOfDetail 为 true 时,将只下载满足最大屏幕空间错误的切片。跳过因子将被忽略,并且只加载所需的切片。 | | loadSiblings | boolean | false | `optional` 当 skipLevelOfDetail 为 true 时,确定在遍历期间是否始终下载可见切片的兄弟节点。 | -| clippingPlanes | Object | | `optional` ClippingPlaneCollection 用于有选择地禁用渲染 tileset。 | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `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 对象以基于几何误差和光照控制点衰减的选项。 | | imageBasedLightingFactor | VcCartesian2\|Array | `[1.0, 1.0]` | `optional` 地球、天空、大气层的光照缩放因子。 | -| lightColor | Object\|Array | | `optional` 模型阴影的颜色和强度。 | +| lightColor | VcColor\|Array | | `optional` 模型阴影的颜色和强度。 | | luminanceAtZenith | number | `0.2` | `optional` 太阳在天顶的亮度,以每平方米千坎德拉为单位,用于该模型的过程环境图。 | | sphericalHarmonicCoefficients | Array || `optional` 用于基于图像的照明的漫反射颜色的三阶球面谐波系数。 | | specularEnvironmentMaps | string | | `optional` KTX 文件的 URL,其中包含镜面照明的立方体贴图和卷积的镜面 mipmap。 | From a33aaab4cafe91aa031688132b450e95652312d0 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 11:30:59 +0800 Subject: [PATCH 11/16] scene --- website/docs/en-US/graphics/vc-graphics-path.md | 4 ++-- website/docs/en-US/graphics/vc-graphics-plane.md | 2 +- .../docs/en-US/graphics/vc-graphics-polygon.md | 2 +- .../docs/en-US/graphics/vc-graphics-polyline.md | 9 ++++++++- .../docs/en-US/graphics/vc-graphics-rectangle.md | 16 +++++++++++++++- .../post-processes/vc-post-process-stage-scan.md | 2 +- .../post-processes/vc-post-process-stage.md | 6 +++--- .../en-US/primitives/vc-collection-billboard.md | 2 +- .../docs/en-US/primitives/vc-collection-label.md | 2 +- .../docs/en-US/primitives/vc-primitive-model.md | 2 +- website/docs/zh-CN/graphics/vc-graphics-plane.md | 2 +- .../docs/zh-CN/graphics/vc-graphics-polygon.md | 2 +- .../docs/zh-CN/graphics/vc-graphics-polyline.md | 2 +- .../docs/zh-CN/graphics/vc-graphics-rectangle.md | 2 +- .../post-processes/vc-post-process-stage-scan.md | 2 +- .../post-processes/vc-post-process-stage.md | 6 +++--- .../zh-CN/primitives/vc-collection-billboard.md | 2 +- .../docs/zh-CN/primitives/vc-collection-label.md | 2 +- .../docs/zh-CN/primitives/vc-primitive-model.md | 2 +- 19 files changed, 45 insertions(+), 24 deletions(-) diff --git a/website/docs/en-US/graphics/vc-graphics-path.md b/website/docs/en-US/graphics/vc-graphics-path.md index 36c57fd7..7cce6472 100644 --- a/website/docs/en-US/graphics/vc-graphics-path.md +++ b/website/docs/en-US/graphics/vc-graphics-path.md @@ -145,8 +145,8 @@ Basic usage of the VcGraphicsPath component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the path. | -| leadTime | Object | | `optional` A Property specifying the number of seconds behind the object to show. | -| trailTime | Object | | `optional` A Property specifying the number of seconds in front of the object to show. | +| leadTime | number \| Cesium.CallbackProperty \| VcCallbackPropertyFunction\ | | `optional` A Property specifying the number of seconds behind the object to show. | +| trailTime | number \| Cesium.CallbackProperty \| VcCallbackPropertyFunction\ | | `optional` A Property specifying the number of seconds in front of the object to show. | | width | number | `1.0` | `optional` A numeric Property specifying the width in pixels. | | resolution | number | `60` | `optional` A numeric Property specifying the maximum number of seconds to step when sampling the position. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the path. | diff --git a/website/docs/en-US/graphics/vc-graphics-plane.md b/website/docs/en-US/graphics/vc-graphics-plane.md index ca0f481a..11ff52f9 100644 --- a/website/docs/en-US/graphics/vc-graphics-plane.md +++ b/website/docs/en-US/graphics/vc-graphics-plane.md @@ -86,7 +86,7 @@ Basic usage of the VcGraphicsPlane component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the plane. | -| plane | Object\|Array | | `optional` A Plane Property specifying the normal and distance for the plane. | +| plane | VcPlane\|Array | | `optional` A Plane Property specifying the normal and distance for the plane. | | dimensions | VcPosition\|Array | | `optional` A Cartesian2 Property specifying the width and height of the plane. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the plane is filled with the provided material. | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the plane. | diff --git a/website/docs/en-US/graphics/vc-graphics-polygon.md b/website/docs/en-US/graphics/vc-graphics-polygon.md index 521b82bf..9a1d8fe6 100644 --- a/website/docs/en-US/graphics/vc-graphics-polygon.md +++ b/website/docs/en-US/graphics/vc-graphics-polygon.md @@ -157,7 +157,7 @@ Basic usage of VcGraphicsPolygon component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the polygon. | -| hierarchy | Object\|Array | | `optional` A Property specifying the PolygonHierarchy. | +| hierarchy | VcPolygonHierarchy\|Array | | `optional` A Property specifying the PolygonHierarchy. | | height | number | `0` | `optional` A numeric Property specifying the altitude of the polygon relative to the ellipsoid surface. | | heightReference | number | | `optional` A Property specifying what the height is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | extrudedHeight | number | | `optional` A numeric Property specifying the altitude of the polygon's extruded face relative to the ellipsoid surface. | diff --git a/website/docs/en-US/graphics/vc-graphics-polyline.md b/website/docs/en-US/graphics/vc-graphics-polyline.md index a1e7ed82..5e4a97b8 100644 --- a/website/docs/en-US/graphics/vc-graphics-polyline.md +++ b/website/docs/en-US/graphics/vc-graphics-polyline.md @@ -1,3 +1,10 @@ + ## VcGraphicsPolyline Loading a polyline graphic. It is equivalent to initializing a `Cesium.PolylineGraphics` instance. @@ -74,7 +81,7 @@ Basic usage of VcGraphicsPolyline component. | width | number | `1.0` | `optional` A numeric Property specifying the width in pixels. | | granularity | number | | `optional` A numeric Property specifying the angular distance between each latitude and longitude if arcType is not ArcType.NONE. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to draw the polyline. | -| depthFailMaterial | Object\|string\|Array | | `optional` A property specifying the material used to draw the polyline when it is below the terrain. | +| depthFailMaterial | VcMaterial\|string\|Array | | `optional` A property specifying the material used to draw the polyline when it is below the terrain. | | arcType | number | `1` | `optional` The type of line the polyline segments must follow. **NONE: 0, GEODESIC: 1, RHUMB: 2** |0/1/2| | clampToGround | boolean | `false` | `optional` A boolean Property specifying whether the Polyline should be clamped to the ground. | | shadows | number | | `optional` An enum Property specifying whether the polyline casts or receives shadows from each light source. **DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| diff --git a/website/docs/en-US/graphics/vc-graphics-rectangle.md b/website/docs/en-US/graphics/vc-graphics-rectangle.md index 9126d672..70552a4d 100644 --- a/website/docs/en-US/graphics/vc-graphics-rectangle.md +++ b/website/docs/en-US/graphics/vc-graphics-rectangle.md @@ -1,3 +1,17 @@ + + ## VcGraphicsRectangle Loading a rectangle graphic. It is equivalent to initializing a `Cesium.RectangleGraphics` instance. @@ -93,7 +107,7 @@ Basic usage of VcGraphicsRectangle component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | | show | boolean | `true` | `optional` A boolean Property specifying the visibility of the rectangle. | -| coordinates | Object\|Array | | `optional` The Property specifying the Rectangle. | +| coordinates | VcRectangle\|Array | | `optional` The Property specifying the Rectangle. | | height | number | `0` | `optional` A numeric Property specifying the altitude of the rectangle relative to the ellipsoid surface. | | heightReference | number | `true` | `optional` A Property specifying what the height is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | extrudedHeight | number | | `optional` A numeric Property specifying the altitude of the rectangle's extruded face relative to the ellipsoid surface. | diff --git a/website/docs/en-US/post-processes/vc-post-process-stage-scan.md b/website/docs/en-US/post-processes/vc-post-process-stage-scan.md index 48f42608..df870b09 100644 --- a/website/docs/en-US/post-processes/vc-post-process-stage-scan.md +++ b/website/docs/en-US/post-processes/vc-post-process-stage-scan.md @@ -80,7 +80,7 @@ Basic usage of VcPostProcessStageScan component. | Name | Type | Default | Description | | ------- | ------ | --------------------------------------------------------------------------- | ---------------------------------------------------------------- | | type | string | `'radar'` | `optional` Specify the scan type, optional values are'radar','circle'. | -| options | Object | `{ position: [0, 0], radius: 1500, interval: 3500, color: [0, 0, 0, 255] }` | `optional` Specify optional parameters. | +| options | HeatmapConfiguration | `{ position: [0, 0], radius: 1500, interval: 3500, color: [0, 0, 0, 255] }` | `optional` Specify optional parameters. | ### Events diff --git a/website/docs/en-US/post-processes/vc-post-process-stage.md b/website/docs/en-US/post-processes/vc-post-process-stage.md index 863537ee..d70e6372 100644 --- a/website/docs/en-US/post-processes/vc-post-process-stage.md +++ b/website/docs/en-US/post-processes/vc-post-process-stage.md @@ -73,14 +73,14 @@ Basic usage of VcPostProcessStage component. | Name | Type | Default | Description | | ---------------- | --------------------- | ------- | ----------------------------------------------------------------------------------------------------- | | fragmentShader | string | | `required` The fragment shader to use. The default sampler2D uniforms are colorTexture and depthTexture. The color texture is the output of rendering the scene or the previous stage. The depth texture is the output from rendering the scene. The shader should contain one or both uniforms. There is also a vec2 varying named v_textureCoordinates that can be used to sample the textures. | -| uniforms | Object | | `optional` An object whose properties will be used to set the shaders uniforms. The properties can be constant values or a function. A constant value can also be a URI, data URI, or HTML element to use as a texture. | +| uniforms | any | | `optional` An object whose properties will be used to set the shaders uniforms. The properties can be constant values or a function. A constant value can also be a URI, data URI, or HTML element to use as a texture. | | textureScale | number | `1.0` | `optional` A number in the range (0.0, 1.0] used to scale the texture dimensions. A scale of 1.0 will render this post-process stage to a texture the size of the viewport. | | forcePowerOfTwo | boolean | `false` | `optional` Whether or not to force the texture dimensions to be both equal powers of two. The power of two will be the next power of two of the minimum of the dimensions. | | sampleMode | number | `0` | `optional` How to sample the input color texture. **{NEAREST: 0, LINEAR: 1}** | | pixelFormat | number | | `optional` The color pixel format of the output texture. | | pixelDatatype | number | | `optional` The pixel data type of the output texture. | -| clearColor | Object\|Array\|string | `BLACK` | `optional` The color to clear the output texture to. | -| scissorRectangle | Object | | `optional` The rectangle to use for the scissor test. | +| clearColor | VcColor\|Array\|string | `BLACK` | `optional` The color to clear the output texture to. | +| scissorRectangle | VcBoundingRectangle | | `optional` The rectangle to use for the scissor test. | | name | string | | `optional` The unique name of this post-process stage for reference by other stages in a composite. If a name is not supplied, a GUID will be generated. | ### Events diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index a6621aa4..f7ba2477 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -106,7 +106,7 @@ Basic usage of VcCollectionBillboard component. | ---- | ---- | ------- | ----------- | --------------- | | modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Determines if this primitive's commands' bounding spheres are shown. | -| scene | Object | | `optional` Must be passed in for billboards that use the height reference property or will be depth tested against the globe. | +| scene | Cesium.Scene | | `optional` Must be passed in for billboards that use the height reference property or will be depth tested against the globe. | | blendOption | number | | `optional` The billboard blending option. The default is used for rendering both opaque and translucent billboards. However, if either all of the billboards are completely opaque or all are completely translucent, setting the technique to BlendOption.OPAQUE or BlendOption.TRANSLUCENT can improve performance by up to 2x. **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2**|0/1/2| | show | boolean | `true` | `optional` Determines if the primitives in the collection will be shown. | | billboards | Array | `[]` | `optional` Specify an array of billboard collections. The structure of the array object is the same as the attribute of the `vc-billboard` component. | diff --git a/website/docs/en-US/primitives/vc-collection-label.md b/website/docs/en-US/primitives/vc-collection-label.md index 2ab4e056..e271ea3c 100644 --- a/website/docs/en-US/primitives/vc-collection-label.md +++ b/website/docs/en-US/primitives/vc-collection-label.md @@ -126,7 +126,7 @@ Basic usage of VcCollectionLabel component. | ---- | ---- | ------- | ----------- | --------------- | | modelMatrix | Cesium.Matrix4 | | `optional` The 4x4 transformation matrix that transforms each billboard from model to world coordinates. | | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Determines if this primitive's commands' bounding spheres are shown. | -| scene | Object | | `optional` Must be passed in for billboards that use the height reference property or will be depth tested against the globe. | +| scene | Cesium.Scene | | `optional` Must be passed in for billboards that use the height reference property or will be depth tested against the globe. | | blendOption | number | | `optional` The billboard blending option. The default is used for rendering both opaque and translucent billboards. However, if either all of the billboards are completely opaque or all are completely translucent, setting the technique to BlendOption.OPAQUE or BlendOption.TRANSLUCENT can improve performance by up to 2x. **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2**|0/1/2| | show | boolean | `true` | `optional` Determines if the primitives in the collection will be shown. | | labels | Array | `[]` | `optional` Specify an array of label collections. The structure of the array object is the same as the attribute of the `vc-label` component. | diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index 325e26f7..295d3566 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -130,7 +130,7 @@ Basic usage of VcPrimitiveGround component. | debugShowBoundingVolume | boolean | `false` | `optional` For debugging only. Draws the bounding sphere for each DrawCommand in the model. | | debugWireframe | boolean | `false` | `optional` For debugging only. Draws the model in wireframe. | | heightReference | number | `0` | `optional` Determines how the model is drawn relative to terrain. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** | -| scene | Object | `false` | `optional` Must be passed in for models that use the height reference property. | +| scene | Cesium.Scene | `false` | `optional` Must be passed in for models that use the height reference property. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this model will be displayed. | | color | VcColor\|string\|Array | `'white'` | `optional` A color that blends with the model's rendered color. | | colorBlendMode | number | `0` | `optional` Defines how the color blends with the model. **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** |0/1/2| diff --git a/website/docs/zh-CN/graphics/vc-graphics-plane.md b/website/docs/zh-CN/graphics/vc-graphics-plane.md index 21406330..b2252758 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-plane.md +++ b/website/docs/zh-CN/graphics/vc-graphics-plane.md @@ -86,7 +86,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | --- | -------- | ------ | -------- | --- | | show | boolean | `true` | `optional` 指定 plane 是否显示。 | -| plane | Object\|Array | | `optional` 指定 plane 的法线和距离。 | +| plane | VcPlane\|Array | | `optional` 指定 plane 的法线和距离。 | | dimensions | VcPosition\|Array | | `optional` 指定 plane 的宽和高。 | | fill | boolean | `true` | `optional` 指定 plane 是否填充材质。 | | material | VcMaterial\|string\|Array | `'WHITE'` | `optional` 指定 plane 的材质。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polygon.md b/website/docs/zh-CN/graphics/vc-graphics-polygon.md index f45279d7..a4e6fa00 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polygon.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polygon.md @@ -157,7 +157,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ----- | ----- | ---- | ---- | ----- | | show | boolean | `true` | `optional` 指定 polygon 是否显示。 | -| hierarchy | Object\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性。 | +| hierarchy | VcPolygonHierarchy\|Array | | `optional` 指定 polygon 的 PolygonHierarchy 属性。 | | height | number | `0` | `optional` 指定 polygon 的高度。 | | heightReference | number | | `optional` 指定 polygon 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | extrudedHeight | number | | `optional` 指定 polygon 拉伸高度。 | diff --git a/website/docs/zh-CN/graphics/vc-graphics-polyline.md b/website/docs/zh-CN/graphics/vc-graphics-polyline.md index 9aa3781a..b43937b2 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-polyline.md +++ b/website/docs/zh-CN/graphics/vc-graphics-polyline.md @@ -74,7 +74,7 @@ | width | number | `1.0` | `optional` 指定线的宽度(像素)。 | | granularity | number | | `optional` 指定每个经纬度之间的采样粒度。 arcType 不是 ArcType.NONE 时有效。 | | material | VcMaterial\|string\|Array | `'white'` | `optional` 指定用于绘制线的材质。 | -| depthFailMaterial | Object\|string\|Array | | `optional` 指定用于绘制低于地形的线的材质。 | +| depthFailMaterial | VcMaterial\|string\|Array | | `optional` 指定用于绘制低于地形的线的材质。 | | arcType | number | `1` | `optional` 指定线条类型。 **NONE: 0, GEODESIC: 1, RHUMB: 2** | 0/1/2| | clampToGround | boolean | `false` | `optional` 指定线是否贴地。 | | shadows | number | | `optional` 指定这些是否投射或接收来自每个光源的阴影。**DISABLED: 0, ENABLED: 1, CAST_ONLY: 2, RECEIVE_ONLY: 3** |0/1/2/3| diff --git a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md index 1880cd83..79efec66 100644 --- a/website/docs/zh-CN/graphics/vc-graphics-rectangle.md +++ b/website/docs/zh-CN/graphics/vc-graphics-rectangle.md @@ -94,7 +94,7 @@ | 属性名 | 类型 | 默认值 | 描述 | 可选值 | | ------ | --- | ------ | --- | ---- | | show | boolean | `true` | `optional` 指定 rectangle 是否显示。 | -| coordinates | Object\|Array | | `optional` 指定 rectangle 的 Rectangle 属性。 | +| coordinates | VcRectangle\|Array | | `optional` 指定 rectangle 的 Rectangle 属性。 | | height | number | `0` | `optional` 指定 rectangle 高度。 | | heightReference | number | | `optional` 指定 rectangle 高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2**|0/1/2| | extrudedHeight | number | | `optional` 指定 rectangle 拉伸高度。 | diff --git a/website/docs/zh-CN/post-processes/vc-post-process-stage-scan.md b/website/docs/zh-CN/post-processes/vc-post-process-stage-scan.md index bdca6a76..40f1914a 100644 --- a/website/docs/zh-CN/post-processes/vc-post-process-stage-scan.md +++ b/website/docs/zh-CN/post-processes/vc-post-process-stage-scan.md @@ -93,7 +93,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------- | ------ | --------------------------------------------------------------------------- | --------------------------------------------------- | | type | string | `'radar'` | `optional` 指定扫描类型,可选值 'radar', 'circle'。 | -| options | Object | `{ position: [0, 0], radius: 1500, interval: 3500, color: [0, 0, 0, 255] }` | `optional` 指定可选参数。 | +| options | HeatmapConfiguration | `{ position: [0, 0], radius: 1500, interval: 3500, color: [0, 0, 0, 255] }` | `optional` 指定可选参数。 | ### 事件 diff --git a/website/docs/zh-CN/post-processes/vc-post-process-stage.md b/website/docs/zh-CN/post-processes/vc-post-process-stage.md index 588e8a8c..f3fb0268 100644 --- a/website/docs/zh-CN/post-processes/vc-post-process-stage.md +++ b/website/docs/zh-CN/post-processes/vc-post-process-stage.md @@ -76,14 +76,14 @@ | 属性名 | 类型 | 默认值 | 描述 | | ---------------- | --------------------- | ------- | ----------------------------------------------------------------------------------------------------- | | fragmentShader | string | | `required` 指定着色器代码。 | -| uniforms | Object | | `optional` 指定着色器 uniforms 参数。uniform 变量一般用来表示:变换矩阵,材质,光照参数和颜色等信息。 | +| uniforms | any | | `optional` 指定着色器 uniforms 参数。uniform 变量一般用来表示:变换矩阵,材质,光照参数和颜色等信息。 | | textureScale | number | `1.0` | `optional` 指定纹理尺寸缩放比例,取值范围 (0.0, 1.0] 。 | | forcePowerOfTwo | boolean | `false` | `optional` 是否强制将纹理尺寸都等于 2 的幂。 2 的幂将是最小维度中 2 的下一个幂。 | | sampleMode | number | `0` | `optional` 指定输入颜色纹理的采样方式。 **{NEAREST: 0, LINEAR: 1}** | | pixelFormat | number | | `optional` 指定输出纹理的像素格式。 | | pixelDatatype | number | | `optional` 指定输出纹理的数据类型。 | -| clearColor | Object\|Array\|string | `BLACK` | `optional` 指定清除输出纹理的颜色。 | -| scissorRectangle | Object | | `optional` 指定用于测试的矩形。 | +| clearColor | VcColor\|Array\|string | `BLACK` | `optional` 指定清除输出纹理的颜色。 | +| scissorRectangle | VcBoundingRectangle | | `optional` 指定用于测试的矩形。 | | name | string | | `optional` 指定唯一名称,未提供默认生成 GUID。 | ### 事件 diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index 77067aad..ed8eec54 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -106,7 +106,7 @@ | modelMatrix | Cesium.Matrix4 | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | | debugShowBoundingVolume | boolean | `false` | `optional` 指定是否显示此图元的 BoundingVolume, 仅调试使用。 | | blendOption | number | `2` | `optional` 指定颜色混合选项。 **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2** | 0/1/2 | -| scene | Object | | `optional` 指定场景参数,使用深度检测或者高度参考时必须传该属性。 | +| scene | Cesium.Scene | | `optional` 指定场景参数,使用深度检测或者高度参考时必须传该属性。 | | show | boolean | `true` | `optional` 指定该图元集合是否显示。 | | billboards | Array | `[]` | `optional` 指定布告板集合数组。 数组对象结构与 `vc-billboard` 组件属性相同。 | | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-label.md b/website/docs/zh-CN/primitives/vc-collection-label.md index b9450c2d..86ab27ba 100644 --- a/website/docs/zh-CN/primitives/vc-collection-label.md +++ b/website/docs/zh-CN/primitives/vc-collection-label.md @@ -126,7 +126,7 @@ | modelMatrix | Cesium.Matrix4 | | `optional` 指定 4x4 变换矩阵,将每个点从模型转换为世界坐标。 | | debugShowBoundingVolume | boolean | `false` | `optional` 指定是否显示此图元的 BoundingVolume, 仅调试使用。 | | blendOption | number | `2` | `optional` 指定颜色混合选项。 **OPAQUE: 0, TRANSLUCENT: 1, OPAQUE_AND_TRANSLUCENT: 2** | 0/1/2 | -| scene | Object | | `optional` 指定场景参数,使用深度检测或者高度参考时必须传该属性。 | +| scene | Cesium.Scene | | `optional` 指定场景参数,使用深度检测或者高度参考时必须传该属性。 | | show | boolean | `true` | `optional` 指定该图元集合是否显示。 | | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | | labels | Array | `[]` | `optional` 指定标签集合数组。 数组对象结构与 `vc-label` 组件属性相同。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index 087ae081..5d642b1a 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -126,7 +126,7 @@ | debugShowBoundingVolume | boolean | `false` | `optional` 可选的仅用于调试。 为模型中的每个 DrawCommand 绘制边界球。 | | debugWireframe | boolean | `false` | `optional` 可选的仅用于调试。 仅用于调试。 在线框中绘制模型。 | | heightReference | number | `0` | `optional` 指定 model 的高度模式。 **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| -| scene | Object | `false` | `optional` 指定model的scene参数,使用 heightReference 属性的模型必须传递。 | +| scene | Cesium.Scene | `false` | `optional` 指定model的scene参数,使用 heightReference 属性的模型必须传递。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 model 随相机改变的显示条件。| | color | VcColor\|string\|Array | `'white'` | `optional` 指定 model 渲染混合的颜色。 | | colorBlendMode | number | `0` | `optional` 指定 model 与颜色混合模式。 **HIGHLIGHT: 0, REPLACE: 1, MIX: 2** | From 2f29591df226909a3798c6df92ae5f324a30ef27 Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 11:41:53 +0800 Subject: [PATCH 12/16] Credit --- website/docs/en-US/primitives/vc-collection-billboard.md | 2 +- website/docs/en-US/primitives/vc-collection-cloud.md | 2 +- website/docs/en-US/primitives/vc-collection-primitive.md | 2 +- website/docs/en-US/primitives/vc-primitive-classification.md | 4 ++-- website/docs/en-US/primitives/vc-primitive-ground-polyline.md | 4 ++-- website/docs/en-US/primitives/vc-primitive-ground.md | 4 ++-- website/docs/en-US/primitives/vc-primitive-model.md | 4 ++-- website/docs/en-US/primitives/vc-primitive.md | 4 ++-- website/docs/zh-CN/primitives/vc-collection-billboard.md | 2 +- website/docs/zh-CN/primitives/vc-collection-cloud.md | 2 +- website/docs/zh-CN/primitives/vc-primitive-classification.md | 4 ++-- website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md | 4 ++-- website/docs/zh-CN/primitives/vc-primitive-ground.md | 4 ++-- website/docs/zh-CN/primitives/vc-primitive-model.md | 2 +- website/docs/zh-CN/primitives/vc-primitive.md | 4 ++-- 15 files changed, 24 insertions(+), 24 deletions(-) diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index f7ba2477..9aac5376 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -146,7 +146,7 @@ Loading a viewport-aligned image positioned in the 3D scene. It is equivalent to | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| alignedAxis | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` The aligned axis in world space. The aligned axis is the unit vector that the billboard up vector points towards. The default is the zero vector, which means the billboard is aligned to the screen up vector. | +| alignedAxis | VcPosition\|Array | `{x: 0, y: 0, z: 0}` | `optional` The aligned axis in world space. The aligned axis is the unit vector that the billboard up vector points towards. The default is the zero vector, which means the billboard is aligned to the screen up vector. | | color | VcColor\|string\|Array | `'white'` | `optional` The color that is multiplied with the billboard's texture. | | disableDepthTestDistance | number | | `optional` The distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied. | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` The condition specifying at what distance from the camera that this billboard will be displayed.| diff --git a/website/docs/en-US/primitives/vc-collection-cloud.md b/website/docs/en-US/primitives/vc-collection-cloud.md index ade5bae1..43bb0bf4 100644 --- a/website/docs/en-US/primitives/vc-collection-cloud.md +++ b/website/docs/en-US/primitives/vc-collection-cloud.md @@ -125,7 +125,7 @@ Basic usage of VcCollectionCloud component. | ---- | ---- | ------- | ----------- | | show | boolean | `true` | `optional` Whether to display the clouds. | | noiseDetail | number | `16.0` | `optional` Desired amount of detail in the noise texture. | -| noiseOffset | Object: VcPosition | `{x: 0, y: 0, z: 0}`|`optional` Desired translation of data in noise texture.| +| noiseOffset | VcPosition: VcPosition | `{x: 0, y: 0, z: 0}`|`optional` Desired translation of data in noise texture.| | debugBillboards | boolean |`16.0`| `optional` For debugging only. Determines if the billboards are rendered with an opaque color. | | debugEllipsoids | boolean |`16.0`| `optional` For debugging only. Determines if the clouds will be rendered as opaque ellipsoids. | | clouds | Array\ | `[]` | `optional` Specifies an array of cumulus collections. The array object structure is the same as the `vc-cumulus-cloud` component properties. | diff --git a/website/docs/en-US/primitives/vc-collection-primitive.md b/website/docs/en-US/primitives/vc-collection-primitive.md index 006e05ce..d42aab90 100644 --- a/website/docs/en-US/primitives/vc-collection-primitive.md +++ b/website/docs/en-US/primitives/vc-collection-primitive.md @@ -253,7 +253,7 @@ Loading the polygon primitive. It is equivalent to initializing a `PolygonPrimit | arcType | number \| Cesium.ArcType | | `optional` The type of line the polygon edges must follow. Valid options are ArcType.GEODESIC and ArcType.RHUMB. | | classificationType | number \| Cesium.ClassificationType | | `optional` An enum Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground. | | appearance | VcAppearance | | `optional` The appearance. | -| depthFailColor | Object\|Array\|string | | `optional` Specify the depthFailColor. | +| depthFailColor | VcColor\|Array\|string | | `optional` Specify the depthFailColor. | | depthFailAppearance | VcAppearance | | `optional` Specify the depthFailAppearance. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | allowPicking | boolean | `true` | `optional` When true, polygon will only be pickable with Scene#pick. When false, GPU memory is saved. | diff --git a/website/docs/en-US/primitives/vc-primitive-classification.md b/website/docs/en-US/primitives/vc-primitive-classification.md index 364a3606..4483d93a 100644 --- a/website/docs/en-US/primitives/vc-primitive-classification.md +++ b/website/docs/en-US/primitives/vc-primitive-classification.md @@ -92,8 +92,8 @@ Basic usage of VcPrimitiveClassification component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| geometryInstances | Object\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| -| appearance | Object | | `optional` The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute. | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| +| appearance | VcAppearance | | `optional` The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute. | | show | boolean | `true` | `optional` Determines if this primitive will be shown. | | vertexCacheOptimize | boolean | `false` | `optional` When true, geometry vertices are optimized for the pre and post-vertex-shader caches. | | interleave | boolean | `false` | `optional` When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. | diff --git a/website/docs/en-US/primitives/vc-primitive-ground-polyline.md b/website/docs/en-US/primitives/vc-primitive-ground-polyline.md index 1207da82..6e8926e1 100644 --- a/website/docs/en-US/primitives/vc-primitive-ground-polyline.md +++ b/website/docs/en-US/primitives/vc-primitive-ground-polyline.md @@ -100,8 +100,8 @@ Basic usage of VcPrimitiveGround component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| geometryInstances | Object\|Array | | `optional` GeometryInstances containing GroundPolylineGeometry. | -| appearance | Object | | `optional` The Appearance used to render the polyline. Defaults to a white color Material on a PolylineMaterialAppearance. | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` GeometryInstances containing GroundPolylineGeometry. | +| appearance | VcAppearance | | `optional` The Appearance used to render the polyline. Defaults to a white color Material on a PolylineMaterialAppearance. | | show | boolean | `true` | `optional` Determines if this primitive will be shown. | | interleave | boolean | `false` | `optional` When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. | | releaseGeometryInstances | boolean | `true` | `optional` When true, the primitive does not keep a reference to the input geometryInstances to save memory. | diff --git a/website/docs/en-US/primitives/vc-primitive-ground.md b/website/docs/en-US/primitives/vc-primitive-ground.md index e16d77a8..c9879ce4 100644 --- a/website/docs/en-US/primitives/vc-primitive-ground.md +++ b/website/docs/en-US/primitives/vc-primitive-ground.md @@ -113,8 +113,8 @@ Basic usage of VcPrimitiveGround component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| geometryInstances | Object\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| -| appearance | Object | | `optional` The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute. | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| +| appearance | VcAppearance | | `optional` The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute. | | show | boolean | `true` | `optional` Determines if this primitive will be shown. | | vertexCacheOptimize | boolean | `false` | `optional` When true, geometry vertices are optimized for the pre and post-vertex-shader caches. | | interleave | boolean | `false` | `optional` When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. | diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index 295d3566..b53b0971 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -137,14 +137,14 @@ Basic usage of VcPrimitiveGround component. | colorBlendAmount | number | `0.5` | `optional` Value used to determine the color strength when the colorBlendMode is MIX. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. | | silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts. | | silhouetteSize | number | `0.0` | `optional` The size of the silhouette in pixels. | -| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `optional` The ClippingPlaneCollection used to selectively disable rendering the model. | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\ | | `optional` The ClippingPlaneCollection used to selectively disable rendering the model. | | dequantizeInShader | boolean | `true` | `optional` Determines if a Draco encoded model is dequantized on the GPU. This decreases total memory usage for encoded models.| | imageBasedLightingFactor | Array\|Object | | `optional` Scales diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox.| | lightColor | Array\|Object | | `optional` The light color when shading the model. 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.| | sphericalHarmonicCoefficients | Array\|Object || `optional` The third order spherical harmonic coefficients used for the diffuse color of image-based lighting.| | specularEnvironmentMaps | string || `optional` A URL to a KTX file that contains a cube map of the specular lighting and the convoluted specular mipmaps. | -| credit | Object\|string | | `optional` A credit for the model, which is displayed on the canvas. | +| credit | Cesium.Credit\|string | | `optional` A credit for the model, which is displayed on the canvas. | | backFaceCulling | boolean | `true` | `optional` Whether to cull back-facing geometry. When true, back face culling is determined by the material's doubleSided property; when false, back face culling is disabled. Back faces are not culled if Model#color is translucent or Model#silhouetteSize is greater than 0.0. | | enableMouseEvent | boolean | `true` | `optional` Specify whether the mouse event takes effect. | diff --git a/website/docs/en-US/primitives/vc-primitive.md b/website/docs/en-US/primitives/vc-primitive.md index 304c156f..8ea1beb9 100644 --- a/website/docs/en-US/primitives/vc-primitive.md +++ b/website/docs/en-US/primitives/vc-primitive.md @@ -71,8 +71,8 @@ Basic usage of VcPrimitive component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| geometryInstances | Object\|Array | | `optional` The geometry instances - or a single geometry instance - to render. | -| appearance | Object | | `optional` The appearance used to render the primitive. | +| Cesium.GeometryInstance \| Array\\|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. | | 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. | diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index ed8eec54..b1fcf03e 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -144,7 +144,7 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------------------------ | ------- | ------------------ | ------------------------------------------- |---| -| alignedAxis | Object\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 按单位矢量轴旋转参数。 | +| alignedAxis | VcPosition\|Array | `{x: 0, y: 0, z: 0}` | `optional` 指定 billboard 按单位矢量轴旋转参数。 | | color | VcColor\|string\|Array | `'white'` | `optional` 指定 billboard 图片的颜色。 | | disableDepthTestDistance | number | | `optional` 指定 billboard 的深度检测距离。 | | distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` 指定 billboard 显示条件随相机距离改变的参数。 | diff --git a/website/docs/zh-CN/primitives/vc-collection-cloud.md b/website/docs/zh-CN/primitives/vc-collection-cloud.md index cf4f6576..26f5fc8d 100644 --- a/website/docs/zh-CN/primitives/vc-collection-cloud.md +++ b/website/docs/zh-CN/primitives/vc-collection-cloud.md @@ -127,7 +127,7 @@ | ----- | ---- | ----- | --------- | | show | boolean | `true` | `optional` 指定该积云图元集合是否显示。 | | noiseDetail | number | `16.0` | `optional` 指定噪声纹理数值。 | -| noiseOffset | Object: VcPosition | `{x: 0, y: 0, z: 0}`|`optional` 指定噪声纹理数值的平移参数。 | +| noiseOffset | VcPosition: VcPosition | `{x: 0, y: 0, z: 0}`|`optional` 指定噪声纹理数值的平移参数。 | | debugBillboards | boolean |`16.0`|`optional` 仅用于调试。确定广告牌是否以不透明颜色呈现。 | | debugEllipsoids | boolean |`16.0`|`optional` 仅用于调试。确定云是否将作为不透明椭圆体呈现。 | | clouds | Array\ | `[]` | `optional` 指定积云集合数组。 数组对象结构与 `vc-cumulus-cloud` 组件属性相同。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-classification.md b/website/docs/zh-CN/primitives/vc-primitive-classification.md index 3360285e..fbfcef99 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-classification.md +++ b/website/docs/zh-CN/primitives/vc-primitive-classification.md @@ -86,8 +86,8 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| geometryInstances | Object\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | -| appearance | Object | | `optional` 指定图元的外观参数。 | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | +| appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 | | interleave | boolean | `false` | `optional` 指定是否交错几何体顶点属性,true 时可以稍微改善渲染性能,但会增加加载时间。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md b/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md index 825d6fa4..465e3b87 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md +++ b/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md @@ -100,8 +100,8 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| geometryInstances | Object\|Array | | `optional` 指定要渲染的贴地线几何体实例或者它的实例集合。 | -| appearance | Object | | `optional` 指定图元的外观参数。 | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的贴地线几何体实例或者它的实例集合。 | +| appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | interleave | boolean | `false` | `optional` 指定是否交错几何体顶点属性,true 时可以稍微改善渲染性能,但会增加加载时间。 | | releaseGeometryInstances | boolean | `true` | `optional` 指定是否保留图元对几何体实例的输入,不保留可以节省内存。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-ground.md b/website/docs/zh-CN/primitives/vc-primitive-ground.md index 0b14fff3..584ad132 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-ground.md +++ b/website/docs/zh-CN/primitives/vc-primitive-ground.md @@ -105,8 +105,8 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| geometryInstances | Object\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | -| appearance | Object | | `optional` 指定图元的外观参数。 | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | +| appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 | | interleave | boolean | `false` | `optional` 指定是否交错几何体顶点属性,true 时可以稍微改善渲染性能,但会增加加载时间。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index 5d642b1a..694c2238 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -140,7 +140,7 @@ | luminanceAtZenith | number | `0.2` | `optional` 太阳在天顶的亮度,以每平方米千坎德拉为单位,用于该模型的过程环境图。| | sphericalHarmonicCoefficients | Array\|Object || `optional` 用于基于图像的照明的漫反射颜色的三阶球面谐波系数。| | specularEnvironmentMaps | string ||`optional` KTX 文件的 URL,其中包含镜面照明的立方体贴图和卷积的镜面 mipmap。| -| credit | Object\|string | | `optional` 指定 model 的描述信息。 | +| credit | Cesium.Credit\|string | | `optional` 指定 model 的描述信息。 | | backFaceCulling | boolean | `true` | `optional` 是否剔除背面几何。 如果为 true,则背面剔除取决于材质的 doubleSided 属性; 如果为假,则禁用背面剔除。 如果 Model#color 是半透明的或 Model#silhouetteSize 大于 0.0,则不会剔除背面| | enableMouseEvent | boolean | `true` | `optional` 指定鼠标事件是否生效。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive.md b/website/docs/zh-CN/primitives/vc-primitive.md index 3dc58d24..9aaee06f 100644 --- a/website/docs/zh-CN/primitives/vc-primitive.md +++ b/website/docs/zh-CN/primitives/vc-primitive.md @@ -71,8 +71,8 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| geometryInstances | Object\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | -| appearance | Object | | `optional` 指定图元的外观参数。 | +| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | +| appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | depthFailAppearance | Object | | `optional` 指定图元在深度测试失败后的外观。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | modelMatrix | Cesium.Matrix4 | | `optional` 指定图元从模型坐标转换为世界坐标的 4 x 4 矩阵。 | From 87f5afc2a35588e5b92c591632e91e7cc3847b1f Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 14:08:14 +0800 Subject: [PATCH 13/16] any --- .../en-US/primitives/vc-primitive-particle.md | 16 ++++++++-------- .../en-US/primitives/vc-primitive-tileset.md | 4 ++-- website/docs/en-US/primitives/vc-primitive.md | 2 +- .../en-US/providers/vc-imagery-provider-tms.md | 2 +- .../en-US/providers/vc-imagery-provider-wms.md | 10 +++++----- .../zh-CN/primitives/vc-primitive-particle.md | 16 ++++++++-------- .../zh-CN/primitives/vc-primitive-tileset.md | 6 +++--- website/docs/zh-CN/primitives/vc-primitive.md | 2 +- .../zh-CN/providers/vc-imagery-provider-tms.md | 2 +- .../providers/vc-imagery-provider-urltemplate.md | 6 +++--- .../zh-CN/providers/vc-imagery-provider-wms.md | 10 +++++----- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/website/docs/en-US/primitives/vc-primitive-particle.md b/website/docs/en-US/primitives/vc-primitive-particle.md index f9efab33..969f57ad 100644 --- a/website/docs/en-US/primitives/vc-primitive-particle.md +++ b/website/docs/en-US/primitives/vc-primitive-particle.md @@ -221,9 +221,9 @@ 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. | @@ -231,12 +231,12 @@ Basic usage of VcPrimitiveParticle component. | 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. | diff --git a/website/docs/en-US/primitives/vc-primitive-tileset.md b/website/docs/en-US/primitives/vc-primitive-tileset.md index b2bdae53..ea7d8597 100644 --- a/website/docs/en-US/primitives/vc-primitive-tileset.md +++ b/website/docs/en-US/primitives/vc-primitive-tileset.md @@ -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 | | `optional` The ClippingPlaneCollection used to selectively disable rendering the tileset. | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\ | | `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. | diff --git a/website/docs/en-US/primitives/vc-primitive.md b/website/docs/en-US/primitives/vc-primitive.md index 8ea1beb9..6fa9b717 100644 --- a/website/docs/en-US/primitives/vc-primitive.md +++ b/website/docs/en-US/primitives/vc-primitive.md @@ -73,7 +73,7 @@ Basic usage of VcPrimitive component. | ---- | ---- | ------- | ----------- | --------------- | | Cesium.GeometryInstance \| Array\\|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. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-tms.md b/website/docs/en-US/providers/vc-imagery-provider-tms.md index 9d29bb92..da2fb659 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-tms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-tms.md @@ -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.| diff --git a/website/docs/en-US/providers/vc-imagery-provider-wms.md b/website/docs/en-US/providers/vc-imagery-provider-wms.md index a47fcc38..eb598f66 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wms.md @@ -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. | @@ -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 diff --git a/website/docs/zh-CN/primitives/vc-primitive-particle.md b/website/docs/zh-CN/primitives/vc-primitive-particle.md index 309ca838..6aea6819 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-particle.md +++ b/website/docs/zh-CN/primitives/vc-primitive-particle.md @@ -221,9 +221,9 @@ | ------ | ---- | ------ | ---- | | 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` 粒子系统完成后是否应循环其爆发。 | @@ -231,12 +231,12 @@ | 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` 设置以米/秒为单位的最大范围,在该范围内将随机选择粒子的实际速度。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-tileset.md b/website/docs/zh-CN/primitives/vc-primitive-tileset.md index 9bc005f9..b136ddd5 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-tileset.md +++ b/website/docs/zh-CN/primitives/vc-primitive-tileset.md @@ -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 | | `optional` ClippingPlaneCollection 用于有选择地禁用渲染 tileset。 | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\ | | `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` 太阳在天顶的亮度,以每平方米千坎德拉为单位,用于该模型的过程环境图。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive.md b/website/docs/zh-CN/primitives/vc-primitive.md index 9aaee06f..226fe3e1 100644 --- a/website/docs/zh-CN/primitives/vc-primitive.md +++ b/website/docs/zh-CN/primitives/vc-primitive.md @@ -73,7 +73,7 @@ | ------ | ---- | ------ | ---- |---| | Cesium.GeometryInstance \| Array\\|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` 指定是否优化几何体顶点着色器之前和之后的缓存。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md index 01715261..f77a95d8 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md @@ -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` 指定图像瓦片高度。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md index c26a14eb..9ebccb4e 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md @@ -111,20 +111,20 @@ | --------------------- | --------------- | ------- | -------------------------------------------------------------------------------------------- | | url | string\|Object | | `required` 指定服务地址。 | | pickFeaturesUrl | string\|Object | | `optional` 指定拾取对象属性的 url,如果无效,会返回 undefined。 | -| urlSchemeZeroPadding | Object | | `optional` 指定每个瓦片中心的偏移值。 | +| urlSchemeZeroPadding | any | | `optional` 指定每个瓦片中心的偏移值。 | | subdomains | string | `'abc'` | `optional` 指定服务的轮询子域名。 | | credit | string | `''` | `optional` 指定服务的描述信息 | | minimumLevel | number | `0` | `optional` 最小层级。 | | maximumLevel | number | | `optional` 最大层级。 | | rectangle | VcRectangle\|Array | | `optional` 图层的矩形范围,此矩形限制了影像可见范围。 | -| tilingScheme | Object | | `optional` 指定服务的投影参数。 | +| tilingScheme | Cesium.GeographicTilingScheme \| Cesium.WebMercatorTilingScheme | | `optional` 指定服务的投影参数。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 参考椭球体。 | | tileWidth | number | `256` | `optional` 像元宽度。 | | tileHeight | number | `256` | `optional` 像元高度。 | | hasAlphaChannel | boolean | `true` | `optional` 设置为 true 表示图层包含 alpha 透明通道,反之没有。 | | getFeatureInfoFormats | Array | | `optional` 格式化拾取对象属性时提示信息位置,该项要设置 pickFeaturesUrl 且起作用时才起作用。 | | enablePickFeatures | boolean | `true` | `optional` 是否开启图层拾取。 | -| customTags | Object | | `optional` 替换 url 模板中的自定义关键字。 | +| customTags | any | | `optional` 替换 url 模板中的自定义关键字。 | | projectionTransforms | boolean\|Object | `false` | `optional` 指定纠偏参数。 | ### 事件 diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md index 49416dda..ab2e297c 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md @@ -92,12 +92,12 @@ | ------------------------ | --------------- | ------- | ---------------------------------------------------------------------------------- | | url | string\|Object | | `required` 指定 WMS 服务地址。 | | layers | string | | `required` 指定服务图层,多个图层用","隔开。 | -| parameters | Object | | `optional` 在 GetMap URL 中传递给 WMS 服务器的其他参数。 | -| getFeatureInfoParameters | Object | | `optional` 在 GetFeatureInfo URL 中传递给 WMS 服务器的其他参数。 | +| parameters | any | | `optional` 在 GetMap URL 中传递给 WMS 服务器的其他参数。 | +| getFeatureInfoParameters | any | | `optional` 在 GetFeatureInfo URL 中传递给 WMS 服务器的其他参数。 | | enablePickFeatures | boolean | `true` | `optional` 指定是否支持拾取对象,通过 GetFeatureInfo 获取,需要服务支持。 | | getFeatureInfoFormats | Array | | `optional` 指定 WMS GetFeatureInfo 请求的格式。 | | rectangle | VcRectangle\|Array | | `optional` 指定 WMS 图层矩形范围。 | -| tilingScheme | Object | | `optional` 指定 WMS 服务瓦片投影参数。 | +| tilingScheme | Cesium.GeographicTilingScheme \| Cesium.WebMercatorTilingScheme | | `optional` 指定 WMS 服务瓦片投影参数。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定 WMS 服务椭球体参数,如果指定了 tilingScheme 此属性无效。 | | tileWidth | number | `256` | `optional` 指定像元宽度。 | | tileHeight | number | `256` | `optional` 指定像元高度。 | @@ -107,8 +107,8 @@ | srs | string | | `optional` 指定 SRS 规范,用于 WMS 规范 1.1.0 或 1.1.1 | | credit | Credit\| string | | `optional` 指定服务描述信息。 | | subdomains | string\| Array | `'abc'` | `optional` 指定服务子域 。 | -| clock | Object | | `optional` 确定时间维度的值时使用的 Clock 实例。 当指定 options.times 时是必需的。 | -| times | Object | | `optional` TimeIntervalCollection 及其数据属性是一个包含时间动态维度及其值的对象。 | +| clock | Cesium.Clock | | `optional` 确定时间维度的值时使用的 Clock 实例。 当指定 options.times 时是必需的。 | +| times | Cesium.TimeIntervalCollection | | `optional` TimeIntervalCollection 及其数据属性是一个包含时间动态维度及其值的对象。 | ### 事件 From fcae4267c42e7487ce6c911bda93582e1a9f03ed Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 14:28:53 +0800 Subject: [PATCH 14/16] all object --- .../en-US/datasources/vc-datasource-geojson.md | 2 +- .../en-US/geometries/vc-geometry-ellipse.md | 4 ++-- .../geometries/vc-geometry-polygon-coplanar.md | 2 +- .../en-US/geometries/vc-geometry-polygon.md | 2 +- .../docs/en-US/graphics/vc-graphics-ellipse.md | 2 +- .../primitives/vc-collection-billboard.md | 2 +- .../en-US/primitives/vc-primitive-model.md | 6 +++--- .../providers/vc-imagery-provider-baidu.md | 4 ++-- .../en-US/providers/vc-imagery-provider-tms.md | 4 ++-- .../vc-imagery-provider-urltemplate.md | 18 +++++++++--------- .../en-US/providers/vc-imagery-provider-wms.md | 2 +- .../providers/vc-imagery-provider-wmts.md | 2 +- .../vc-terrain-provider-vr-theworld.md | 9 ++++++++- website/docs/en-US/vc-viewer.md | 2 +- .../primitives/vc-collection-billboard.md | 2 +- .../zh-CN/primitives/vc-primitive-model.md | 8 ++++---- .../providers/vc-imagery-provider-baidu.md | 4 ++-- .../zh-CN/providers/vc-imagery-provider-tms.md | 6 +++--- .../vc-imagery-provider-urltemplate.md | 6 +++--- .../zh-CN/providers/vc-imagery-provider-wms.md | 2 +- .../providers/vc-imagery-provider-wmts.md | 2 +- .../vc-terrain-provider-vr-theworld.md | 8 ++++---- 22 files changed, 53 insertions(+), 46 deletions(-) diff --git a/website/docs/en-US/datasources/vc-datasource-geojson.md b/website/docs/en-US/datasources/vc-datasource-geojson.md index 0ecff0a7..f6b1e500 100644 --- a/website/docs/en-US/datasources/vc-datasource-geojson.md +++ b/website/docs/en-US/datasources/vc-datasource-geojson.md @@ -95,7 +95,7 @@ Basic usage of VcDatasourceGeojson component. | Name | Type | Default | Description | | ------------- | --------------------- | ------- | --------------------------------------------------------------------------------- | -| data | string\|Object | | `required` A url, GeoJSON object, or TopoJSON object to be loaded. | +| data | Cesium.Resource \| string \| AnyObject | | `required` A url, GeoJSON object, or TopoJSON object to be loaded. | | show | boolean | `true` | `optional` Overrides the url to use for resolving relative links. | | entities | Array\<[VcEntityProps](https://zouyaoji.top/vue-cesium/#/en-US/component/vc-entity)\> | `[]` | `optional` Specify the collection of entities to be added to the datasource. | | sourceUri | string | | `optional` lOverrides the url to use for resolving relative links.| diff --git a/website/docs/en-US/geometries/vc-geometry-ellipse.md b/website/docs/en-US/geometries/vc-geometry-ellipse.md index 40949c14..eb3d7af2 100644 --- a/website/docs/en-US/geometries/vc-geometry-ellipse.md +++ b/website/docs/en-US/geometries/vc-geometry-ellipse.md @@ -132,7 +132,7 @@ Basic usage of VcGeometryEllipse component. | height | number | `0` | `optional` The distance in meters between the ellipse and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the ellipse's extruded face and the ellipsoid surface. | | rotation | number | `0.0` | `optional` The angle of rotation counter-clockwise from north. | -| stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates counter-clockwise from north. | +| stRotation | number | `0.0` | `optional` The rotation of the texture coordinates counter-clockwise from north. | | granularity | number | | `optional` The angular distance between points on the ellipse in radians. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | @@ -161,7 +161,7 @@ Loading an ellipse geometry outline. It is equivalent to initializing a `Cesium. | height | number | `0` | `optional` The distance in meters between the ellipse and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the ellipse's extruded face and the ellipsoid surface. | | rotation | number | `0.0` | `optional` The angle of rotation counter-clockwise from north. | -| stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates counter-clockwise from north. | +| stRotation | number | `0.0` | `optional` The rotation of the texture coordinates counter-clockwise from north. | | granularity | number | | `optional` The angular distance between points on the ellipse in radians. | | numberOfVerticalLines | number | `16` | `optional` Number of lines to draw between the top and bottom surface of an extruded ellipse. | diff --git a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md index 7f3eeaf2..0589c654 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md @@ -122,7 +122,7 @@ Basic usage of VcGeometryPolygonCoplanar component. | ---------------- | -------------- | ------- | --------------------------------------------------------------------------------------------------------- | | polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | -| stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | +| stRotation | number | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | ### Events diff --git a/website/docs/en-US/geometries/vc-geometry-polygon.md b/website/docs/en-US/geometries/vc-geometry-polygon.md index 64155959..1159600f 100644 --- a/website/docs/en-US/geometries/vc-geometry-polygon.md +++ b/website/docs/en-US/geometries/vc-geometry-polygon.md @@ -151,7 +151,7 @@ Basic usage of VcGeometryPolygon component. | height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. | | extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. | | vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. | -| stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | +| stRotation | number | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. | | ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. | | granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. | | perPositionHeight | boolean | `false` | `optional` Use the height of options.positions for each position instead of using options.height to determine the height. | diff --git a/website/docs/en-US/graphics/vc-graphics-ellipse.md b/website/docs/en-US/graphics/vc-graphics-ellipse.md index f0c0d5e8..2aebb8cb 100644 --- a/website/docs/en-US/graphics/vc-graphics-ellipse.md +++ b/website/docs/en-US/graphics/vc-graphics-ellipse.md @@ -94,7 +94,7 @@ Basic usage of the VcGraphicsEllipse component. | extrudedHeight | number | | `optional` A numeric Property specifying the altitude of the ellipse's extruded face relative to the ellipsoid surface. | | extrudedHeightReference | number | | `optional` A Property specifying what the extrudedHeight is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | rotation | number | `0.0` | `optional` A numeric property specifying the rotation of the ellipse counter-clockwise from north. | -| stRotation | number\|Object | `0.0` | `optional` A numeric property specifying the rotation of the ellipse texture counter-clockwise from north. | +| stRotation | number | `0.0` | `optional` A numeric property specifying the rotation of the ellipse texture counter-clockwise from north. | | granularity | number | | `optional` A numeric Property specifying the angular distance between points on the ellipse. | | fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipse is filled with the provided material. | | material | VcMaterial\|string\|Array | `'white'` | `optional` A Property specifying the material used to fill the ellipse. | diff --git a/website/docs/en-US/primitives/vc-collection-billboard.md b/website/docs/en-US/primitives/vc-collection-billboard.md index 9aac5376..7ecd5b59 100644 --- a/website/docs/en-US/primitives/vc-collection-billboard.md +++ b/website/docs/en-US/primitives/vc-collection-billboard.md @@ -155,7 +155,7 @@ Loading a viewport-aligned image positioned in the 3D scene. It is equivalent to | heightReference | number | `0` | `optional` The height reference of this billboard. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` The horizontal origin of this billboard, which determines if the billboard is to the left, center, or right of its anchor position. **CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/2| | id | \* | | `optional` The user-defined object returned when the billboard is picked. | -| image | string\|Object | | `optional` The image to be used for this billboard. If a texture has already been created for the given image, the existing texture is used. | +| image | string | | `optional` The image to be used for this billboard. If a texture has already been created for the given image, the existing texture is used. | | pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` The pixel offset in screen space from the origin of this billboard. | | pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` The near and far pixel offset scaling properties of a Billboard based on the billboard's distance from the camera.| | position | VcPosition\|Array | | `optional` The position of this billboard.| diff --git a/website/docs/en-US/primitives/vc-primitive-model.md b/website/docs/en-US/primitives/vc-primitive-model.md index b53b0971..b9e3ab2f 100644 --- a/website/docs/en-US/primitives/vc-primitive-model.md +++ b/website/docs/en-US/primitives/vc-primitive-model.md @@ -139,10 +139,10 @@ Basic usage of VcPrimitiveGround component. | silhouetteSize | number | `0.0` | `optional` The size of the silhouette in pixels. | | clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\ | | `optional` The ClippingPlaneCollection used to selectively disable rendering the model. | | dequantizeInShader | boolean | `true` | `optional` Determines if a Draco encoded model is dequantized on the GPU. This decreases total memory usage for encoded models.| -| imageBasedLightingFactor | Array\|Object | | `optional` Scales diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox.| -| lightColor | Array\|Object | | `optional` The light color when shading the model. When undefined the scene's light color is used instead. | +| imageBasedLightingFactor | VcCartesian2 | | `optional` Scales diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox.| +| lightColor | VcColor | | `optional` The light color when shading the model. 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.| -| sphericalHarmonicCoefficients | Array\|Object || `optional` The third order spherical harmonic coefficients used for the diffuse color of image-based lighting.| +| sphericalHarmonicCoefficients | VcCartesian3Array || `optional` The third order spherical harmonic coefficients used for the diffuse color of image-based lighting.| | specularEnvironmentMaps | string || `optional` A URL to a KTX file that contains a cube map of the specular lighting and the convoluted specular mipmaps. | | credit | Cesium.Credit\|string | | `optional` A credit for the model, which is displayed on the canvas. | | backFaceCulling | boolean | `true` | `optional` Whether to cull back-facing geometry. When true, back face culling is determined by the material's doubleSided property; when false, back face culling is disabled. Back faces are not culled if Model#color is translucent or Model#silhouetteSize is greater than 0.0. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-baidu.md b/website/docs/en-US/providers/vc-imagery-provider-baidu.md index 1679bd4f..977f2578 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-baidu.md +++ b/website/docs/en-US/providers/vc-imagery-provider-baidu.md @@ -118,14 +118,14 @@ Basic usage of the `vc-imagery-provider-baidu` component. | ---- | ---- | ------- | ----------- | | url | string | | `optional` Specify the service address. | | rectangle | VcRectangle | | `optional` The rectangle of the layer. This parameter is ignored when accessing a tiled layer. | -| credit | string\|Object | `''` | `optional` A credit for the data source, which is displayed on the canvas. | +| credit | string \| Cesium.Credit | `''` | `optional` A credit for the data source, which is displayed on the canvas. | | 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. | | maximumLevel | number | `18` | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. | | scale | number | `1` | `optional` Specify the scale. | | ak | string | `E4805d16520de693a3fe707cdc962045` | `optional` Specify the baidumap key. | |subdomains|Array\|`['0', '1', '2', '3']`|`optional` Specify the service polling parameters.| | mapStyle | 'img' \| 'vec' \| 'traffic' \| 'normal' \| 'light' \| 'dark' \| 'redalert' \| 'googlelite' \| 'grassgreen' \| 'midnight' \| 'pink' \| 'darkgreen' \| 'bluish' \| 'grayscale' \| 'hardedge' | `normal` | `optional` Specify the mapStyle. |img/vec/traffic/normal/light/dark/redalert/googlelite/grassgreen/midnight/pink/darkgreen/bluish/grayscale/hardedge| -| projectionTransforms | boolean\|Object | | `optional` Specify the projection transformation parameters. such as { from: 'BD09', to: 'WGS84' }** | +| projectionTransforms | ProjectionTransforms | | `optional` Specify the projection transformation parameters. such as { from: 'BD09', to: 'WGS84' }** | | protocol | string | `'https'` | `optional` Specify protocol of service. | :::tip diff --git a/website/docs/en-US/providers/vc-imagery-provider-tms.md b/website/docs/en-US/providers/vc-imagery-provider-tms.md index da2fb659..37e47d64 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-tms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-tms.md @@ -94,9 +94,9 @@ Basic usage of the `vc-imagery-provider-tms` component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| url | string\|Object | `'.'` | `optional` Path to image tiles on server. | +| url | string \| Cesium.Resource \| Promise\ | Promise\ | `'.'` | `optional` Path to image tiles on server. | | fileExtension | string | `'png'` | `optional` The file extension for images on the server. | -| credit | string\|Object | `''` | `optional` A credit for the data source, which is displayed on the canvas. | +| credit | string\|Cesium.Credit | `''` | `optional` A credit for the data source, which is displayed on the canvas. | | 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. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md b/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md index 0a9160e2..237abe53 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md +++ b/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md @@ -110,23 +110,23 @@ Basic usage of the `vc-imagery-provider-urltemplate` component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -|url|string\|Object||`required` The URL template to use to request tiles.| -|pickFeaturesUrl|string\|Object||`optional` The URL template to use to pick features. | -|urlSchemeZeroPadding|Object||`optional` Gets the URL scheme zero padding for each tile coordinate.| +|url|string\|Cesium.Resource||`required` The URL template to use to request tiles.| +|pickFeaturesUrl|string\|Cesium.Resource||`optional` The URL template to use to pick features. | +|urlSchemeZeroPadding|AnyObject||`optional` Gets the URL scheme zero padding for each tile coordinate.| |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.| -|credit|string\|Object|`''`|`optional` A credit for the data source, which is displayed on the canvas.| +|credit|string\| Cesium.Credit|`''`|`optional` A credit for the data source, which is displayed on the canvas.| |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.| |maximumLevel|Number||`optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.| -|rectangle|Object\|Array||`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.| -|ellipsoid|Object||`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.| +|rectangle|VcRectangle||`optional` The rectangle, in radians, covered by the image. | +|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.| |hasAlphaChannel|Boolean|`true`|`optional` true if the images provided by this imagery provider include an alpha channel; otherwise, false. If this property is false, an alpha channel, if present, will be ignored. If this property is true, any images without an alpha channel will be treated as if their alpha is 1.0 everywhere. When this property is false, memory usage and texture upload time are potentially reduced.| |getFeatureInfoFormats|Array||`optional` The formats in which to get feature information at a specific location when UrlTemplateImageryProvider#pickFeatures is invoked. If this parameter is not specified, feature picking is disabled.| |enablePickFeatures|Boolean|`true`|`optional` If true, UrlTemplateImageryProvider#pickFeatures will request the options.pickFeaturesUrl and attempt to interpret the features included in the response. If false, UrlTemplateImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your data source does not support picking features or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the UriTemplateImageryProvider#enablePickFeatures property.| -|customTags|Object||`optional` Allow to replace custom keywords in the URL template. The object must have strings as keys and functions as values.| -| projectionTransforms | boolean\|Object | `false` | `optional` Specify the projection transformation parameters. | +|customTags|AnyObject||`optional` Allow to replace custom keywords in the URL template. The object must have strings as keys and functions as values.| +| projectionTransforms | ProjectionTransforms | `false` | `optional` Specify the projection transformation parameters. | ### Events diff --git a/website/docs/en-US/providers/vc-imagery-provider-wms.md b/website/docs/en-US/providers/vc-imagery-provider-wms.md index eb598f66..4e95bb0a 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wms.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wms.md @@ -91,7 +91,7 @@ Basic usage of the `vc-imagery-provider-wms` component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| url | string\|Object | | `required` The URL of the WMS service. The URL supports the same keywords as the UrlTemplateImageryProvider. | +| url | string\|Cesium.Resource | | `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 | 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. | diff --git a/website/docs/en-US/providers/vc-imagery-provider-wmts.md b/website/docs/en-US/providers/vc-imagery-provider-wmts.md index 82e2503c..07941843 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-wmts.md +++ b/website/docs/en-US/providers/vc-imagery-provider-wmts.md @@ -88,7 +88,7 @@ Basic usage of the `vc-imagery-provider-wmts` component. | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| url | string\|Object | | `required`The base URL for the WMTS GetTile operation (for KVP-encoded requests) or the tile-URL template (for RESTful requests). The tile-URL template should contain the following variables: {style}, {TileMatrixSet}, {TileMatrix}, {TileRow}, {TileCol}. The first two are optional if actual values are hardcoded or not required by the server. The {s} keyword may be used to specify subdomains.。 | +| url | string\|Cesium.Resource | | `required`The base URL for the WMTS GetTile operation (for KVP-encoded requests) or the tile-URL template (for RESTful requests). The tile-URL template should contain the following variables: {style}, {TileMatrixSet}, {TileMatrix}, {TileRow}, {TileCol}. The first two are optional if actual values are hardcoded or not required by the server. The {s} keyword may be used to specify subdomains.。 | | format | string | `'image/jpeg'` | `optional` The MIME type for images to retrieve from the server. | | wmtsStyle | string | | `required`The layer name for WMTS requests. | | style | string | | `required`The style name for WMTS requests. | diff --git a/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md b/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md index 82eee405..4c5b5a32 100644 --- a/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md +++ b/website/docs/en-US/providers/vc-terrain-provider-vr-theworld.md @@ -1,3 +1,10 @@ + ## VcTerrainProviderVrTheworld Loading a terrain provider that that produces terrain geometry by tessellating height maps retrieved from a VT MÄK VR-TheWorld server. It is equivalent to initializing a `Cesium.VRTheWorldTerrainProvider` instance. @@ -69,7 +76,7 @@ Basic usage of the `vc-terrain-provider-vr-theworld` component. | Name | Type | Default | Description | | --------- | -------------- | ------- | ------------------------------------------------------------------------------------------ | -| url | string\|Object | | `required` The URL of the VR-TheWorld TileMap. | +| url | string\|Cesium.Resource | | `required` The URL of the VR-TheWorld TileMap. | | token | string | | `optional` The ellipsoid. If this parameter is not specified, the WGS84 ellipsoid is used. | | ellipsoid | Cesium.Ellipsoid | | `optional` A credit for the data source, which is displayed on the canvas. | diff --git a/website/docs/en-US/vc-viewer.md b/website/docs/en-US/vc-viewer.md index d144046b..90dc675c 100644 --- a/website/docs/en-US/vc-viewer.md +++ b/website/docs/en-US/vc-viewer.md @@ -165,7 +165,7 @@ Basic usage of `vc-viewer`. |navigationInstructionsInitiallyVisible|boolean|`false`|`optional` True if the navigation instructions should initially be visible, or false if the should not be shown until the user explicitly clicks the button.| |scene3DOnly|boolean|`false`|`optional` When true, each geometry instance will only be rendered in 3D to save GPU memory.| |shouldAnimate|boolean|`false`|`optional` true if the clock should attempt to advance simulation time by default, false otherwise. | -|clockViewModel|Object||`optional` The clock view model to use to control current time.| +|clockViewModel|Cesium.ClockViewModel||`optional` The clock view model to use to control current time.| |selectedImageryProviderViewModel|Cesium.ProviderViewModel||`optional` The view model for the current base imagery layer, if not supplied the first available base layer is used. This value is only valid if `baseLayerPicker` is set to true.| |terrainProviderViewModels|Array||`optional` The array of ProviderViewModels to be selectable from the BaseLayerPicker. This value is only valid if `baseLayerPicker` is set to true.| |imageryProvider|Cesium.ImageryProvider||`optional` The imagery provider to use. This value is only valid if `baseLayerPicker` is set to false.`vue-cesium` has replaced the default one with `NaturalEarthII` that comes with Cesium resources.| diff --git a/website/docs/zh-CN/primitives/vc-collection-billboard.md b/website/docs/zh-CN/primitives/vc-collection-billboard.md index b1fcf03e..21108728 100644 --- a/website/docs/zh-CN/primitives/vc-collection-billboard.md +++ b/website/docs/zh-CN/primitives/vc-collection-billboard.md @@ -153,7 +153,7 @@ | heightReference | number | `0` | `optional` 指定 billboard 高度模式。**NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2| | horizontalOrigin | number | `0` | `optional` 指定 billboard 水平对齐方式。**CENTER: 0, LEFT: 1, RIGHT: -1** |0/1/2| | id | \* | | `optional` 指定与 billboard 关联的信息,拾取时返回该属性值。 | -| image | string\|Object | | `optional` 指定 billboard 加载的的 Image、 URI 或者 Canvas。 | +| image | string | | `optional` 指定 billboard 加载的的 Image、 URI 或者 Canvas。 | | pixelOffset | VcCartesian2\|Array | `{x: 0, y: 0}` | `optional` 指定 billboard 像素偏移量。 | | pixelOffsetScaleByDistance | VcNearFarScalar\|Array | | `optional` 指定 billboard 像素偏移量随相机距离改变的参数。| | position | VcPosition\|Array | | `optional` 指定 billboard 的位置。| diff --git a/website/docs/zh-CN/primitives/vc-primitive-model.md b/website/docs/zh-CN/primitives/vc-primitive-model.md index 694c2238..9d78e2e2 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-model.md +++ b/website/docs/zh-CN/primitives/vc-primitive-model.md @@ -133,12 +133,12 @@ | colorBlendAmount | number | `0.5` | `optional` 指定 colorBlendMode 为 MIX 的颜色强度。0 表示模型颜色,1 表示纯色,0-1 表示混合。 | | silhouetteColor | VcColor\|string\|Array | `'red'` | `optional` 指定 model 轮廓线颜色。 | | silhouetteSize | number | `0.0` | `optional` 指定 model 轮廓线像素尺寸。 | -| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction | | `optional` 指定 model 屏幕裁剪参数。 | +| clippingPlanes | Cesium.ClippingPlaneCollection \| VcCallbackPropertyFunction\ | | `optional` 指定 model 屏幕裁剪参数。 | | dequantizeInShader | boolean | `true` | `optional` 确定是否在 GPU 上对 Draco 编码的模型进行了反量化。 这减少了编码模型的总内存使用量。| -| imageBasedLightingFactor | Array\|Object | | `optional` 缩放来自地球,天空,大气层和星空盒的基于漫反射和镜面反射图像的照明。| -| lightColor | Array\|Object | | `optional` 为模型着色时的浅色。 未定义时,将使用场景的灯光颜色。 | +| imageBasedLightingFactor | VcColor | | `optional` 缩放来自地球,天空,大气层和星空盒的基于漫反射和镜面反射图像的照明。| +| lightColor | VcColor | | `optional` 为模型着色时的浅色。 未定义时,将使用场景的灯光颜色。 | | luminanceAtZenith | number | `0.2` | `optional` 太阳在天顶的亮度,以每平方米千坎德拉为单位,用于该模型的过程环境图。| -| sphericalHarmonicCoefficients | Array\|Object || `optional` 用于基于图像的照明的漫反射颜色的三阶球面谐波系数。| +| sphericalHarmonicCoefficients | VcCartesian3Array || `optional` 用于基于图像的照明的漫反射颜色的三阶球面谐波系数。| | specularEnvironmentMaps | string ||`optional` KTX 文件的 URL,其中包含镜面照明的立方体贴图和卷积的镜面 mipmap。| | credit | Cesium.Credit\|string | | `optional` 指定 model 的描述信息。 | | backFaceCulling | boolean | `true` | `optional` 是否剔除背面几何。 如果为 true,则背面剔除取决于材质的 doubleSided 属性; 如果为假,则禁用背面剔除。 如果 Model#color 是半透明的或 Model#silhouetteSize 大于 0.0,则不会剔除背面| diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-baidu.md b/website/docs/zh-CN/providers/vc-imagery-provider-baidu.md index 6841b4e2..c4dbc5d5 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-baidu.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-baidu.md @@ -118,14 +118,14 @@ | ----- | ---- | ----- | ---- | | url | string | | `optional` 指定服务地址。 指定了 `url` 将忽略 `mapStyle` 属性。 | | rectangle | VcRectangle | | `optional` 指定影像图层的矩形范围,此矩形限制了影像可见范围。 | -| credit | string\|Object | `''` | `optional` 服务版权描述信息。 | +| credit | string\|Cesium.Credit | `''` | `optional` 服务版权描述信息。 | | minimumLevel | number | `0` | `optional` 最小层级。 | | maximumLevel | number | `18` | `optional` 最大层级。 | | scale | number | `1` | `optional` 指定缩放。 | | ak | string | `E4805d16520de693a3fe707cdc962045` | `optional` 指定百度地图key。 | |subdomains|Array\|`['0', '1', '2', '3']`| `optional` 指定服务轮询参数。| | mapStyle | 'img' \| 'vec' \| 'traffic' \| 'normal' \| 'light' \| 'dark' \| 'redalert' \| 'googlelite' \| 'grassgreen' \| 'midnight' \| 'pink' \| 'darkgreen' \| 'bluish' \| 'grayscale' \| 'hardedge' | `normal` | `optional` 指定自定义风格id。 |img/vec/traffic/normal/light/dark/redalert/googlelite/grassgreen/midnight/pink/darkgreen/bluish/grayscale/hardedge| -| projectionTransforms | boolean\|Object | | `optional` 指定投影变换参数。**结构: { from: 'BD09', to: 'WGS84' }** | +| projectionTransforms | ProjectionTransforms | | `optional` 指定投影变换参数。**结构: { from: 'BD09', to: 'WGS84' }** | | protocol | string | `'https'` | `optional` 指定服务协议。 | :::tip diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md index f77a95d8..ee9f5139 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-tms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-tms.md @@ -93,9 +93,9 @@ | 属性名 | 类型 | 默认值 | 描述 | | -------------------- | --------------- | ------- | ---------------------------------------------- | -| url | string\|Object | `'.'` | `optional` 指定图片服务地址。 | +| url | string\|Cesium.Resource | `'.'` | `optional` 指定图片服务地址。 | | fileExtension | string | `'png'` | `optional` 指定图片服务影像扩展名。 | -| credit | string\|Object | `''` | `optional` 指定服务版权描述信息。 | +| credit | string\|projectionTransforms | `''` | `optional` 指定服务版权描述信息。 | | minimumLevel | number | `0` | `optional` 指定服务最小层级。 | | maximumLevel | number | | `optional` 指定服务最大层级。 | | rectangle | VcRectangle\|Array | | `optional` 指定影像加载的矩形范围。 | @@ -104,7 +104,7 @@ | tileWidth | number | `256` | `optional` 指定图像瓦片宽度。 | | tileHeight | number | `256` | `optional` 指定图像瓦片高度。 | | flipXY | boolean | | `optional` 指定是否翻转 XY | -| projectionTransforms | boolean\|Object | `false` | `optional` 指定投影变换参数。 | +| projectionTransforms | ProjectionTransforms | `false` | `optional` 指定投影变换参数。 | ### 事件 diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md index 9ebccb4e..d301e7d5 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-urltemplate.md @@ -109,8 +109,8 @@ | 属性名 | 类型 | 默认值 | 描述 | | --------------------- | --------------- | ------- | -------------------------------------------------------------------------------------------- | -| url | string\|Object | | `required` 指定服务地址。 | -| pickFeaturesUrl | string\|Object | | `optional` 指定拾取对象属性的 url,如果无效,会返回 undefined。 | +| url | string\|Cesium.Resource | | `required` 指定服务地址。 | +| pickFeaturesUrl | string\|Cesium.Resource | | `optional` 指定拾取对象属性的 url,如果无效,会返回 undefined。 | | urlSchemeZeroPadding | any | | `optional` 指定每个瓦片中心的偏移值。 | | subdomains | string | `'abc'` | `optional` 指定服务的轮询子域名。 | | credit | string | `''` | `optional` 指定服务的描述信息 | @@ -125,7 +125,7 @@ | getFeatureInfoFormats | Array | | `optional` 格式化拾取对象属性时提示信息位置,该项要设置 pickFeaturesUrl 且起作用时才起作用。 | | enablePickFeatures | boolean | `true` | `optional` 是否开启图层拾取。 | | customTags | any | | `optional` 替换 url 模板中的自定义关键字。 | -| projectionTransforms | boolean\|Object | `false` | `optional` 指定纠偏参数。 | +| projectionTransforms | boolean\|ProjectionTransforms | `false` | `optional` 指定纠偏参数。 | ### 事件 diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md index ab2e297c..e049deb3 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wms.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wms.md @@ -90,7 +90,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ------------------------ | --------------- | ------- | ---------------------------------------------------------------------------------- | -| url | string\|Object | | `required` 指定 WMS 服务地址。 | +| url | string\|Cesium.Resource | | `required` 指定 WMS 服务地址。 | | layers | string | | `required` 指定服务图层,多个图层用","隔开。 | | parameters | any | | `optional` 在 GetMap URL 中传递给 WMS 服务器的其他参数。 | | getFeatureInfoParameters | any | | `optional` 在 GetFeatureInfo URL 中传递给 WMS 服务器的其他参数。 | diff --git a/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md b/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md index 27cbc0f8..85b10d74 100644 --- a/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md +++ b/website/docs/zh-CN/providers/vc-imagery-provider-wmts.md @@ -87,7 +87,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | ---------------- | ---------------------- | -------------- | ----------------------------------------------------------------------------------- | -| url | string\|Object | | `required` 指定 wmts 服务地址。 | +| url | string\|Cesium.Resource | | `required` 指定 wmts 服务地址。 | | format | string | `'image/jpeg'` | `optional` 指定服务的 MIME 类型。 | | layer | string | | `required` 指定 WMTS 请求图层名称。 | | wmtsStyle | string | | `required` 指定 WMTS 请求样式名称。 | diff --git a/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md b/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md index fcebfbaf..24b31d90 100644 --- a/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md +++ b/website/docs/zh-CN/providers/vc-terrain-provider-vr-theworld.md @@ -1,10 +1,10 @@ ## VcTerrainProviderVrTheworld @@ -78,7 +78,7 @@ | 属性名 | 类型 | 默认值 | 描述 | | --------- | -------------- | ------ | ----------------------------- | -| url | string\|Object | | `required` 指定服务地址。 | +| url | string\|Cesium.Resource | | `required` 指定服务地址。 | | token | string | | `optional` 指定服务授权令牌。 | | ellipsoid | Cesium.Ellipsoid | | `optional` 指定参考椭球体。 | From c2ea4c6486777838336fbd4fa99e59ca88d87a0e Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 14:41:02 +0800 Subject: [PATCH 15/16] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../providers/vc-imagery-provider-urltemplate.md | 12 ++++++------ .../docs/zh-CN/geometries/vc-geometry-instance.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md b/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md index 237abe53..a353911b 100644 --- a/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md +++ b/website/docs/en-US/providers/vc-imagery-provider-urltemplate.md @@ -115,16 +115,16 @@ Basic usage of the `vc-imagery-provider-urltemplate` component. |urlSchemeZeroPadding|AnyObject||`optional` Gets the URL scheme zero padding for each tile coordinate.| |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.| |credit|string\| Cesium.Credit|`''`|`optional` A credit for the data source, which is displayed on the canvas.| -|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.| -|maximumLevel|Number||`optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.| +|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.| +|maximumLevel|number||`optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.| |rectangle|VcRectangle||`optional` The rectangle, in radians, covered by the image. | |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.| -|hasAlphaChannel|Boolean|`true`|`optional` true if the images provided by this imagery provider include an alpha channel; otherwise, false. If this property is false, an alpha channel, if present, will be ignored. If this property is true, any images without an alpha channel will be treated as if their alpha is 1.0 everywhere. When this property is false, memory usage and texture upload time are potentially reduced.| +|tileWidth|number|`256`|`optional` Pixel width of image tiles.| +|tileHeight|number|`256`|`optional` Pixel height of image tiles.| +|hasAlphaChannel|boolean|`true`|`optional` true if the images provided by this imagery provider include an alpha channel; otherwise, false. If this property is false, an alpha channel, if present, will be ignored. If this property is true, any images without an alpha channel will be treated as if their alpha is 1.0 everywhere. When this property is false, memory usage and texture upload time are potentially reduced.| |getFeatureInfoFormats|Array||`optional` The formats in which to get feature information at a specific location when UrlTemplateImageryProvider#pickFeatures is invoked. If this parameter is not specified, feature picking is disabled.| -|enablePickFeatures|Boolean|`true`|`optional` If true, UrlTemplateImageryProvider#pickFeatures will request the options.pickFeaturesUrl and attempt to interpret the features included in the response. If false, UrlTemplateImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your data source does not support picking features or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the UriTemplateImageryProvider#enablePickFeatures property.| +|enablePickFeatures|boolean|`true`|`optional` If true, UrlTemplateImageryProvider#pickFeatures will request the options.pickFeaturesUrl and attempt to interpret the features included in the response. If false, UrlTemplateImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your data source does not support picking features or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the UriTemplateImageryProvider#enablePickFeatures property.| |customTags|AnyObject||`optional` Allow to replace custom keywords in the URL template. The object must have strings as keys and functions as values.| | projectionTransforms | ProjectionTransforms | `false` | `optional` Specify the projection transformation parameters. | diff --git a/website/docs/zh-CN/geometries/vc-geometry-instance.md b/website/docs/zh-CN/geometries/vc-geometry-instance.md index 20854cf9..0d689354 100644 --- a/website/docs/zh-CN/geometries/vc-geometry-instance.md +++ b/website/docs/zh-CN/geometries/vc-geometry-instance.md @@ -180,7 +180,7 @@ | load | () => Promise\ | 手动加载组件。 | | reload | () => Promise\ | 手动重新加载组件。 | | unload | () => Promise\ | 手动卸载组件。 | -| getCreatingPromise | () => Promise | 获取标志该组件是否创建成功的 Promise 对象。 | +| getCreatingPromise | () => Promise\ | 获取标志该组件是否创建成功的 Promise 对象。 | | getCesiumObject | () => VcCesiumObject | 获取通过该组件加载的 Cesium 对象。 | ### 插槽 From aa8dbd5fd5c8d5d6959dbfbf2083b0760bc2f32a Mon Sep 17 00:00:00 2001 From: tanghuang-liu <916650458@qq.com> Date: Wed, 21 Sep 2022 15:57:15 +0800 Subject: [PATCH 16/16] fix: space bug --- .../primitives/vc-primitive-classification.md | 2 +- .../vc-primitive-ground-polyline.md | 2 +- .../en-US/primitives/vc-primitive-ground.md | 2 +- website/docs/en-US/primitives/vc-primitive.md | 2 +- website/docs/en-US/vc-entity.md | 58 +++++++++---------- .../primitives/vc-primitive-classification.md | 2 +- .../vc-primitive-ground-polyline.md | 2 +- .../zh-CN/primitives/vc-primitive-ground.md | 2 +- website/docs/zh-CN/primitives/vc-primitive.md | 2 +- website/docs/zh-CN/vc-entity.md | 58 +++++++++---------- 10 files changed, 66 insertions(+), 66 deletions(-) diff --git a/website/docs/en-US/primitives/vc-primitive-classification.md b/website/docs/en-US/primitives/vc-primitive-classification.md index 4483d93a..29d5e20c 100644 --- a/website/docs/en-US/primitives/vc-primitive-classification.md +++ b/website/docs/en-US/primitives/vc-primitive-classification.md @@ -92,7 +92,7 @@ Basic usage of VcPrimitiveClassification component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| | appearance | VcAppearance | | `optional` The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute. | | show | boolean | `true` | `optional` Determines if this primitive will be shown. | | vertexCacheOptimize | boolean | `false` | `optional` When true, geometry vertices are optimized for the pre and post-vertex-shader caches. | diff --git a/website/docs/en-US/primitives/vc-primitive-ground-polyline.md b/website/docs/en-US/primitives/vc-primitive-ground-polyline.md index 6e8926e1..73aab85d 100644 --- a/website/docs/en-US/primitives/vc-primitive-ground-polyline.md +++ b/website/docs/en-US/primitives/vc-primitive-ground-polyline.md @@ -100,7 +100,7 @@ Basic usage of VcPrimitiveGround component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| Cesium.GeometryInstance \| Array\\|Array | | `optional` GeometryInstances containing GroundPolylineGeometry. | +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` GeometryInstances containing GroundPolylineGeometry. | | appearance | VcAppearance | | `optional` The Appearance used to render the polyline. Defaults to a white color Material on a PolylineMaterialAppearance. | | show | boolean | `true` | `optional` Determines if this primitive will be shown. | | interleave | boolean | `false` | `optional` When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. | diff --git a/website/docs/en-US/primitives/vc-primitive-ground.md b/website/docs/en-US/primitives/vc-primitive-ground.md index c9879ce4..54e27159 100644 --- a/website/docs/en-US/primitives/vc-primitive-ground.md +++ b/website/docs/en-US/primitives/vc-primitive-ground.md @@ -113,7 +113,7 @@ Basic usage of VcPrimitiveGround component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.| | appearance | VcAppearance | | `optional` The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute. | | show | boolean | `true` | `optional` Determines if this primitive will be shown. | | vertexCacheOptimize | boolean | `false` | `optional` When true, geometry vertices are optimized for the pre and post-vertex-shader caches. | diff --git a/website/docs/en-US/primitives/vc-primitive.md b/website/docs/en-US/primitives/vc-primitive.md index 6fa9b717..23927642 100644 --- a/website/docs/en-US/primitives/vc-primitive.md +++ b/website/docs/en-US/primitives/vc-primitive.md @@ -71,7 +71,7 @@ Basic usage of VcPrimitive component. | Name | Type | Default | Description | Accepted Values | | ---- | ---- | ------- | ----------- | --------------- | -| Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances - or a single geometry instance - to render. | +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` The geometry instances - or a single geometry instance - to render. | | appearance | VcAppearance | | `optional` The appearance used to render the primitive. | | 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. | diff --git a/website/docs/en-US/vc-entity.md b/website/docs/en-US/vc-entity.md index cec9a3f5..987334cc 100644 --- a/website/docs/en-US/vc-entity.md +++ b/website/docs/en-US/vc-entity.md @@ -85,35 +85,35 @@ Basic usage of `vc-entity`. ### Props -| Name | Type | Default | Description | -| -------------- | ----------------------- | ------- | ----------------------------------------------------------------------------------------- | -| id | string | | `optional` A unique identifier for this object. If none is provided, a GUID is generated. | -| name | string | | `optional` A human readable name to display to users. It does not have to be unique. | -| availability | | | `optional` The availability, if any, associated with this object. | -| show | boolean | `true` | `optional` A boolean value indicating if the entity and its children are displayed. | -| description | | | `optional` A string Property specifying an HTML description for this entity. | -| position | VcPosition\|Array\|Function | | `optional` A Property specifying the entity position. | -| orientation | | | `optional` A Property specifying the entity orientation. | -| viewFrom | | | `optional` A suggested initial offset for viewing this object. | -| parent | | | `optional` A parent entity to associate with this entity. | -| billboard | | | `optional` A billboard to associate with this entity. | -| box | | | `optional` A box to associate with this entity. | -| corridor | | | `optional` A corridor to associate with this entity. | -| cylinder | | | `optional` A cylinder to associate with this entity. | -| ellipse | | | `optional` A ellipse to associate with this entity. | -| ellipsoid | | | `optional` A ellipsoid to associate with this entity. | -| label | | | `optional` A options.label to associate with this entity. | -| model | | | `optional` A model to associate with this entity. | -| tileset | | | `optional` A tileset to associate with this entity. | -| path | | | `optional` A path to associate with this entity. | -| plane | | | `optional` A plane to associate with this entity. | -| point | | | `optional` A point to associate with this entity. | -| polygon | | | `optional` A polygon to associate with this entity. | -| polyline | | | `optional` A polyline to associate with this entity. | -| properties | | | `optional` Arbitrary properties to associate with this entity. | -| polylineVolume | | | `optional` A polylineVolume to associate with this entity. | -| rectangle | | | `optional` A rectangle to associate with this entity. | -| wall | | | `optional` A wall to associate with this entity. | +| Name | Type | Default | Description | +| -------------- | ---------------------------------------------------------------------------------- | ------- | ----------------------------------------------------------------------------------------- | +| id | string | | `optional` A unique identifier for this object. If none is provided, a GUID is generated. | +| name | string | | `optional` A human readable name to display to users. It does not have to be unique. | +| availability | Cesium.TimeIntervalCollection | | `optional` The availability, if any, associated with this object. | +| show | boolean | `true` | `optional` A boolean value indicating if the entity and its children are displayed. | +| description | string \| Cesium.CallbackProperty \| VcCallbackPropertyFunction\ | | `optional` A string Property specifying an HTML description for this entity. | +| position | VcPosition\|Array\|Function | | `optional` A Property specifying the entity position. | +| orientation | Cesium.Quaternion \| Cesium.VelocityOrientationProperty \| Cesium.CallbackProperty | | `optional` A Property specifying the entity orientation. | +| viewFrom | VcPosition \| Cesium.CallbackProperty | | `optional` A suggested initial offset for viewing this object. | +| parent | Cesium.Entity | | `optional` A parent entity to associate with this entity. | +| billboard | Cesium.BillboardGraphics \| VcGraphicsBillboardProps | | `optional` A billboard to associate with this entity. | +| box | Cesium.BoxGraphics \| VcGraphicsBoxProps | | `optional` A box to associate with this entity. | +| corridor | Cesium.CorridorGraphics \| VcGraphicsCorridorProps | | `optional` A corridor to associate with this entity. | +| cylinder | Cesium.CylinderGraphics \| VcGraphicsCylinderProps | | `optional` A cylinder to associate with this entity. | +| ellipse | Cesium.EllipseGraphics \| VcGraphicsEllipseProps | | `optional` A ellipse to associate with this entity. | +| ellipsoid | Cesium.EllipsoidGraphics \| VcGraphicsEllipsoidProps | | `optional` A ellipsoid to associate with this entity. | +| label | Cesium.LabelGraphics \| VcGraphicsLabelProps | | `optional` A options.label to associate with this entity. | +| model | Cesium.ModelGraphics \| VcGraphicsModelProps | | `optional` A model to associate with this entity. | +| tileset | Cesium.Cesium3DTilesetGraphics \| VcGraphicsTilesetProps | | `optional` A tileset to associate with this entity. | +| path | Cesium.PathGraphics \| VcGraphicsPathProps | | `optional` A path to associate with this entity. | +| plane | Cesium.PlaneGraphics \| VcGraphicsPlaneProps | | `optional` A plane to associate with this entity. | +| point | Cesium.PointGraphics \| VcGraphicsPointProps | | `optional` A point to associate with this entity. | +| polygon | Cesium.PolygonGraphics \| VcGraphicsPolygonProps | | `optional` A polygon to associate with this entity. | +| polyline | Cesium.PolylineGraphics \| VcGraphicsPolylineProps | | `optional` A polyline to associate with this entity. | +| properties | AnyObject | | `optional` Arbitrary properties to associate with this entity. | +| polylineVolume | Cesium.PolylineVolumeGraphics \| VcGraphicsPolylineVolumeProps | | `optional` A polylineVolume to associate with this entity. | +| rectangle | Cesium.RectangleGraphics \| VcGraphicsRectangleProps | | `optional` A rectangle to associate with this entity. | +| wall | Cesium.WallGraphics \| VcGraphicsWallProps | | `optional` A wall to associate with this entity. | :::tip diff --git a/website/docs/zh-CN/primitives/vc-primitive-classification.md b/website/docs/zh-CN/primitives/vc-primitive-classification.md index fbfcef99..304faf9a 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-classification.md +++ b/website/docs/zh-CN/primitives/vc-primitive-classification.md @@ -86,7 +86,7 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | | appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md b/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md index 465e3b87..c34a58c9 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md +++ b/website/docs/zh-CN/primitives/vc-primitive-ground-polyline.md @@ -100,7 +100,7 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的贴地线几何体实例或者它的实例集合。 | +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的贴地线几何体实例或者它的实例集合。 | | appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | interleave | boolean | `false` | `optional` 指定是否交错几何体顶点属性,true 时可以稍微改善渲染性能,但会增加加载时间。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive-ground.md b/website/docs/zh-CN/primitives/vc-primitive-ground.md index 584ad132..5ebad143 100644 --- a/website/docs/zh-CN/primitives/vc-primitive-ground.md +++ b/website/docs/zh-CN/primitives/vc-primitive-ground.md @@ -105,7 +105,7 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | | appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | | vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 | diff --git a/website/docs/zh-CN/primitives/vc-primitive.md b/website/docs/zh-CN/primitives/vc-primitive.md index 226fe3e1..3593e5f9 100644 --- a/website/docs/zh-CN/primitives/vc-primitive.md +++ b/website/docs/zh-CN/primitives/vc-primitive.md @@ -71,7 +71,7 @@ | 属性名 | 类型 | 默认值 | 描述 |可选值| | ------ | ---- | ------ | ---- |---| -| Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | +| geometryInstances|Cesium.GeometryInstance \| Array\\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 | | appearance | VcAppearance | | `optional` 指定图元的外观参数。 | | depthFailAppearance | VcAppearance | | `optional` 指定图元在深度测试失败后的外观。 | | show | boolean | `true` | `optional` 指定图元是否显示。 | diff --git a/website/docs/zh-CN/vc-entity.md b/website/docs/zh-CN/vc-entity.md index 173a16da..cf8e313b 100644 --- a/website/docs/zh-CN/vc-entity.md +++ b/website/docs/zh-CN/vc-entity.md @@ -88,35 +88,35 @@ ### 属性 -| 属性名 | 类型 | 默认值 | 描述 | -| -------------- | ----------------------- | ------ | ---------------------------------------------------------------- | -| id | string | | `optional` 指定 entity 的唯一标识符。如果没有提供,则生成 GUID。 | -| name | string | | `optional` 指定 entity 名称,名称可不必唯一。 | -| availability | | | `optional` 指定 entity 关联的可用性参数。 | -| show | boolean | `true` | `optional` 指定 entity 及其子项是否显示。 | -| description | | | `optional` 指定 entity 的 HTML 描述信息。 | -| position | VcPosition\|Array\|Function | | `optional` 指定 entity 的位置。 | -| orientation | | | `optional` 指定 entity 的方向。 | -| viewFrom | | | `optional` 指定 entity 的初始偏移量。 | -| parent | | | `optional` 指定 entity 关联的父实体。 | -| billboard | | | `optional` 指定 entity 关联的布告板。 | -| box | | | `optional` 指定 entity 关联的盒子对象。 | -| corridor | | | `optional` 指定 entity 关联的走廊对象。 | -| cylinder | | | `optional` 指定 entity 关联的圆柱对象。 | -| ellipse | | | `optional` 指定 entity 关联的椭圆对象。 | -| ellipsoid | | | `optional` 指定 entity 关联的椭球体对象。 | -| label | | | `optional` 指定 entity 关联的标签对象。 | -| model | | | `optional` 指定 entity 关联的模型对象。 | -| tileset | | | `optional` 指定 entity 关联的 tileset 对象。 | -| path | | | `optional` 指定 entity 关联的路径对象。 | -| plane | | | `optional` 指定 entity 关联的平面对象。 | -| point | | | `optional` 指定 entity 关联的点对象。 | -| polygon | | | `optional` 指定 entity 关联的多边形对象。 | -| polyline | | | `optional` 指定 entity 关联的折线对象。 | -| properties | | | `optional` 指定 entity 关联的属性。 | -| polylineVolume | | | `optional` 指定 entity 关联的多线段柱体对象。 | -| rectangle | | | `optional` 指定 entity 关联的矩形对象。 | -| wall | | | `optional` 指定 entity 关联的墙对象。 | +| 属性名 | 类型 | 默认值 | 描述 | +| -------------- | ---------------------------------------------------------------------------------- | ------ | ---------------------------------------------------------------- | +| id | string | | `optional` 指定 entity 的唯一标识符。如果没有提供,则生成 GUID。 | +| name | string | | `optional` 指定 entity 名称,名称可不必唯一。 | +| availability | Cesium.TimeIntervalCollection | | `optional` 指定 entity 关联的可用性参数。 | +| show | boolean | `true` | `optional` 指定 entity 及其子项是否显示。 | +| description | string \| Cesium.CallbackProperty \| VcCallbackPropertyFunction\ | | `optional` 指定 entity 的 HTML 描述信息。 | +| position | VcPosition\|Array\|Function | | `optional` 指定 entity 的位置。 | +| orientation | Cesium.Quaternion \| Cesium.VelocityOrientationProperty \| Cesium.CallbackProperty | | `optional` 指定 entity 的方向。 | +| viewFrom | VcPosition \| Cesium.CallbackProperty | | `optional` 指定 entity 的初始偏移量。 | +| parent | Cesium.Entity | | `optional` 指定 entity 关联的父实体。 | +| billboard | Cesium.BillboardGraphics \| VcGraphicsBillboardProps | | `optional` 指定 entity 关联的布告板。 | +| box | Cesium.BoxGraphics \| VcGraphicsBoxProps | | `optional` 指定 entity 关联的盒子对象。 | +| corridor | Cesium.CorridorGraphics \| VcGraphicsCorridorProps | | `optional` 指定 entity 关联的走廊对象。 | +| cylinder | Cesium.CylinderGraphics \| VcGraphicsCylinderProps | | `optional` 指定 entity 关联的圆柱对象。 | +| ellipse | Cesium.EllipseGraphics \| VcGraphicsEllipseProps | | `optional` 指定 entity 关联的椭圆对象。 | +| ellipsoid | Cesium.EllipsoidGraphics \| VcGraphicsEllipsoidProps | | `optional` 指定 entity 关联的椭球体对象。 | +| label | Cesium.LabelGraphics \| VcGraphicsLabelProps | | `optional` 指定 entity 关联的标签对象。 | +| model | Cesium.ModelGraphics \| VcGraphicsModelProps | | `optional` 指定 entity 关联的模型对象。 | +| tileset | Cesium.Cesium3DTilesetGraphics \| VcGraphicsTilesetProps | | `optional` 指定 entity 关联的 tileset 对象。 | +| path | Cesium.PathGraphics \| VcGraphicsPathProps | | `optional` 指定 entity 关联的路径对象。 | +| plane | Cesium.PlaneGraphics \| VcGraphicsPlaneProps | | `optional` 指定 entity 关联的平面对象。 | +| point | Cesium.PointGraphics \| VcGraphicsPointProps | | `optional` 指定 entity 关联的点对象。 | +| polygon | Cesium.PolygonGraphics \| VcGraphicsPolygonProps | | `optional` 指定 entity 关联的多边形对象。 | +| polyline | Cesium.PolylineGraphics \| VcGraphicsPolylineProps | | `optional` 指定 entity 关联的折线对象。 | +| properties | AnyObject | | `optional` 指定 entity 关联的属性。 | +| polylineVolume | Cesium.PolylineVolumeGraphics \| VcGraphicsPolylineVolumeProps | | `optional` 指定 entity 关联的多线段柱体对象。 | +| rectangle | Cesium.RectangleGraphics \| VcGraphicsRectangleProps | | `optional` 指定 entity 关联的矩形对象。 | +| wall | Cesium.WallGraphics \| VcGraphicsWallProps | | `optional` 指定 entity 关联的墙对象。 | :::tip