Skip to content

Commit

Permalink
VcMaterial
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghuang-liu committed Sep 21, 2022
1 parent 9142468 commit 96df72a
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-cylinder.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-ellipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-ellipsoid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-plane.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-polyline-volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-rectangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/primitives/vc-collection-polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-cylinder.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-ellipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-ellipsoid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 随相机距离改变是否显示参数。 |

### 事件
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-plane.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-polyline-volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 指定线是否贴地。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-rectangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 轮廓线宽度。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/primitives/vc-collection-polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 宽度。 |
Expand Down

0 comments on commit 96df72a

Please sign in to comment.