Skip to content

Commit 972e17c

Browse files
committed
XRLayer: Corrects the typo shape="equirectangular" to shape="equirect"
#421
1 parent 1afe2c2 commit 972e17c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react/xr/src/layer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ export type XRLayerProperties = XRLayerOptions &
7171
*
7272
* @param props
7373
* #### `src` - Property for displaying images and videos onto the layer. For rendering dynamic content to the layer, leave the `src` empty and put the dynamic (3D) content into the children, so that the layer acts as a render target.
74-
* #### `shape` - Property to configure the shape of the layer ("quad", "cylinder", "equirectangular").
74+
* #### `shape` - Property to configure the shape of the layer ("quad", "cylinder", "equirect").
7575
* #### `layout` - Property to configure the layout of the display content for stereo content ("default", "mono", "stereo-left-right", "stereo-top-bottom").
7676
* #### `centralAngle` - Property to configure the central angle in case the layer shape is a "cylinder".
77-
* #### `centralHorizontalAngle` - Property to configure the central horizontal angle in case the layer shape is "equirectangular".
78-
* #### `upperVerticalAngle` - Property to configure the upper vertical angle in case the layer shape is "equirectangular".
79-
* #### `lowerVerticalAngle` - Property to configure the lower verical angle in case the layer shape is "equirectangular".
77+
* #### `centralHorizontalAngle` - Property to configure the central horizontal angle in case the layer shape is "equirect".
78+
* #### `upperVerticalAngle` - Property to configure the upper vertical angle in case the layer shape is "equirect".
79+
* #### `lowerVerticalAngle` - Property to configure the lower vertical angle in case the layer shape is "equirect".
8080
* #### `chromaticAberrationCorrection` - Property to configure whether chromatic abberration should be corrected by the layer.
8181
* #### `quality` - Property to configure for what type of content the layer should be optimized ("default", "text-optimized", "graphics-optimized").
8282
*/

0 commit comments

Comments
 (0)