Skip to content

Commit

Permalink
VcColor
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghuang-liu committed Sep 21, 2022
1 parent 96df72a commit 381ef1c
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 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 @@ -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. |
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 @@ -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|
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 @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
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 @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-point.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
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 @@ -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. |
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 @@ -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. |
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 @@ -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. |
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 @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/primitives/vc-collection-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.|
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/primitives/vc-collection-point.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
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 @@ -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 边节点数量。 |
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 @@ -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|
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 @@ -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 径向线数量。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 偏移量随相机距离改变的参数。 |
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 @@ -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 随相机距离改变的显示条件。 |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/graphics/vc-graphics-point.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 随相机距离改变的透明度参数。 |
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 @@ -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 拉伸出来的顶部是否闭合。 |
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 @@ -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 随相机距离改变是否显示参数。 |
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 @@ -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 随相机距离改变是否显示参数。 |
Expand Down
Loading

0 comments on commit 381ef1c

Please sign in to comment.