OverviewFilesCommitsIssuesDocsReleasesPeers

gltf-extensions commits / 73720dc

changes autoplay to playing and revises docs
73720dc12c0a2c4d08099e0461b1547a0d4baa5b
by Anthony Burchell <itartist.pdf@gmail.com> · 2022-01-03T21:40:56.000Z

Changed files (2) +6 -6

extensions/2.0/OMI_audio_emitter/README.md +4 -4
……@@ -41,7 +41,7 @@ Audio emitter objects may be added to 3D nodes for positional audio or to the sc
4141 "type": "global",
4242 "gain": 1,
4343 "loop": true,
44 "autoPlay": true,
44 "playing": true,
4545 "source": 0
4646 },
4747 {
……@@ -49,7 +49,7 @@ Audio emitter objects may be added to 3D nodes for positional audio or to the sc
4949 "type": "positional",
5050 "gain": 0.8,
5151 "loop": false,
52 "autoPlay": false,
52 "playing": false,
5353 "source": 1,
5454 "coneInnerAngle": 6.283185307179586,
5555 "coneOuterAngle": 6.283185307179586,
……@@ -157,9 +157,9 @@ Unitless multiplier against original source volume for determining emitter loudn
157157
158158Whether or not to loop the specified audio clip when finished.
159159
160#### `autoPlay`
160#### `playing`
161161
162Whether or not to play the specified audio clip when this scene is loaded.
162Whether or not the specified audio clip is playing.
163163
164164#### `source`
165165
extensions/2.0/OMI_audio_emitter/schema/audioEmitter.schema.json +2 -2
……@@ -33,8 +33,8 @@
3333 "type": "boolean",
3434 "default": false
3535 },
36 "autoPlay": {
37 "description": "Whether or not to play the specified audio clip when this scene is loaded.",
36 "playing": {
37 "description": "Whether or not the specified audio clip is playing. Saving this property to true will set the audio clip to play on load (autoplay).",
3838 "type": "boolean",
3939 "default": false
4040 },