You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -243,10 +243,12 @@ The `pc-sky` tag is used to define a sky component. It must be a direct child of
243
243
| Attribute | Description |
244
244
| --- | --- |
245
245
|`asset`| A string that should match the `id` of a `pc-asset` tag that has a type of `texture`. |
246
+
|`center`| The center of the sky. Specified as a comma-separated list of X, Y, and Z values in the range 0 to 1. If not specified, `0,0.01,0` is used. |
246
247
|`intensity`| The intensity of the sky. If not specified, `1` is used. |
247
248
|`level`| The mipmap level used to render the sky. If not specified, `0` is used (base mip level). |
248
249
|`rotation`| The rotation of the sky. Specified as a comma-separated list of X, Y, and Z values. If not specified, `0,0,0` is used. |
249
-
|`solid-color`| Valueless attribute. If present, the skybox itself is not rendered but is still used for environment lighting. |
250
+
|`scale`| The scale of the sky. Specified as a comma-separated list of X, Y, and Z values. If not specified, `100,100,100` is used. |
251
+
|`type`| The type of sky component. Can be `box`, `dome`, `infinite` or `none`. |
250
252
251
253
### pc-sound
252
254
@@ -285,38 +287,27 @@ The `pc-splat` tag is used to define a splat component. It must be a direct chil
285
287
286
288
## Example
287
289
288
-
Below is a basic example of how to use PlayCanvas Web Components to create a simple 3D scene (a spinning cube):
290
+
Below is a basic example of how to use PlayCanvas Web Components to create a simple 3D scene (a humble sphere):
0 commit comments