Skip to content

Commit

Permalink
fix: space bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghuang-liu committed Sep 21, 2022
1 parent c2ea4c6 commit aa8dbd5
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Basic usage of VcPrimitiveClassification component.
<!-- prettier-ignore -->
| Name | Type | Default | Description | Accepted Values |
| ---- | ---- | ------- | ----------- | --------------- |
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.|
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|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. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Basic usage of VcPrimitiveGround component.
<!-- prettier-ignore -->
| Name | Type | Default | Description | Accepted Values |
| ---- | ---- | ------- | ----------- | --------------- |
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` GeometryInstances containing GroundPolylineGeometry. |
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/primitives/vc-primitive-ground.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Basic usage of VcPrimitiveGround component.
<!-- prettier-ignore -->
| Name | Type | Default | Description | Accepted Values |
| ---- | ---- | ------- | ----------- | --------------- |
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` The geometry instances to render. This can either be a single instance or an array of length one.|
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/primitives/vc-primitive.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Basic usage of VcPrimitive component.
<!-- prettier-ignore -->
| Name | Type | Default | Description | Accepted Values |
| ---- | ---- | ------- | ----------- | --------------- |
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` The geometry instances - or a single geometry instance - to render. |
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` The geometry instances - or a single geometry instance - to render. |
| appearance | VcAppearance | | `optional` The appearance used to render the primitive. |
| depthFailAppearance | 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. |
Expand Down
58 changes: 29 additions & 29 deletions website/docs/en-US/vc-entity.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\<string\> | | `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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<!-- prettier-ignore -->
| 属性名 | 类型 | 默认值 | 描述 |可选值|
| ------ | ---- | ------ | ---- |---|
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| appearance | VcAppearance | | `optional` 指定图元的外观参数。 |
| show | boolean | `true` | `optional` 指定图元是否显示。 |
| vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<!-- prettier-ignore -->
| 属性名 | 类型 | 默认值 | 描述 |可选值|
| ------ | ---- | ------ | ---- |---|
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的贴地线几何体实例或者它的实例集合。 |
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的贴地线几何体实例或者它的实例集合。 |
| appearance | VcAppearance | | `optional` 指定图元的外观参数。 |
| show | boolean | `true` | `optional` 指定图元是否显示。 |
| interleave | boolean | `false` | `optional` 指定是否交错几何体顶点属性,true 时可以稍微改善渲染性能,但会增加加载时间。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/primitives/vc-primitive-ground.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<!-- prettier-ignore -->
| 属性名 | 类型 | 默认值 | 描述 |可选值|
| ------ | ---- | ------ | ---- |---|
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| appearance | VcAppearance | | `optional` 指定图元的外观参数。 |
| show | boolean | `true` | `optional` 指定图元是否显示。 |
| vertexCacheOptimize | boolean | `false` | `optional` 指定是否优化几何体顶点着色器之前和之后的缓存。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/primitives/vc-primitive.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<!-- prettier-ignore -->
| 属性名 | 类型 | 默认值 | 描述 |可选值|
| ------ | ---- | ------ | ---- |---|
| Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| geometryInstances|Cesium.GeometryInstance \| Array\<Cesium.GeometryInstance\>\|Array | | `optional` 指定要渲染的几何体实例或者几何体实例集合。 |
| appearance | VcAppearance | | `optional` 指定图元的外观参数。 |
| depthFailAppearance | VcAppearance | | `optional` 指定图元在深度测试失败后的外观。 |
| show | boolean | `true` | `optional` 指定图元是否显示。 |
Expand Down
Loading

0 comments on commit aa8dbd5

Please sign in to comment.