Browse Source

Docs: add <ar-canvas-source>

customisations
alemart 8 months ago
parent
commit
9e75f11fef
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      docs/api/plugin-aframe.md

+ 8
- 0
docs/api/plugin-aframe.md View File

219
 </a-assets>
219
 </a-assets>
220
 ```
220
 ```
221
 
221
 
222
+### ar-canvas-source
223
+
224
+`<ar-canvas-source>` sets up a [CanvasSource](./canvas-source.md), which is a source of data linked to a `<canvas>` element. It must be a direct child of `<ar-sources>`.
225
+
226
+**Properties**
227
+
228
+* `canvas: selector`. A selector of a `<canvas>` element.
229
+
222
 ### ar-pointer-source
230
 ### ar-pointer-source
223
 
231
 
224
 `<ar-pointer-source>` sets up a [PointerSource](./pointer-source.md), a source of pointer-based input. It must be a direct child of `<ar-sources>`. See also: [ar-pointer-tracker](#ar-pointer-tracker).
232
 `<ar-pointer-source>` sets up a [PointerSource](./pointer-source.md), a source of pointer-based input. It must be a direct child of `<ar-sources>`. See also: [ar-pointer-tracker](#ar-pointer-tracker).

Loading…
Cancel
Save