OverviewFilesCommitsIssuesDocsReleasesPeers

gltf-extensions / extensions / 2.0 / OMI_audio_emitter / schema / glTF.OMI_audio_emitter.schema.json

32 lines · json ref:
{
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "OMI_audio_emitter glTF extension",
  "type": "object",
  "allOf": [ { "$ref": "glTFProperty.schema.json" } ],
  "properties": {
      "audioSources": {
          "description": "An array of audio sources to be used in audio emitters.",
          "type": "array",
          "items": {
              "type": "object",
              "$ref": "audioSource.schema.json"
          },
          "minItems": 1
      },
      "audioEmitters": {
        "description": "An array of positional or global audio emitters that can be referenced by nodes or scenes.",
        "type": "array",
        "items": {
            "type": "object",
            "$ref": "audioEmitter.schema.json"
        },
        "minItems": 1
    },
      "extensions": { },
      "extras": { }
  },
  "required": [
      "audioSources",
      "audioEmitters"
  ]
}