smart-village-solutions / smart-village-app-cms

A CMS based on JSON schema of smart-village api
GNU General Public License v3.0
7 stars 2 forks source link

feat(ar): add custom fields for tourstops #195

Closed donni106 closed 2 years ago

donni106 commented 2 years ago

SVA-633

image

[
  {
    "id": "0",
    "type": "vrx",
    "title": "2323232323",
    "uri": "",
    "position": [0, 0, 0], // Array [x, y, z]
    "scale": [0, 0, 0], // Array [x, y, z]
    "rotation": [0, 0, 0] // Array [x, y, z]
  },
  { 
    "id": "1", 
    "type": "target", 
    "title": "Target_Image", 
    "uri": "", 
    "physicalWidth": 0.2 // Float
  },
  {
    "id": "2",
    "type": "mp3",
    "title": "bavarianVolkMusik",
    "uri": "",
    "isSpatialSound": true,
    "minDistance": 8, // Float
    "maxDistance": 10, // Float
    "position": [0, 0, 0], // Array [x, y, z]
    "rolloffModel": "none" // String (3 Options: none, linear, or logarithmic)
  },
  {
    "id": "3",
    "type": "mp4",
    "title": "mp4mp4",
    "uri": "",
    "position": [0, 0, 0], // Array [x, y, z]
    "scale": [0, 0, 0], // Array [x, y, z]
    "rotation": [0, 0, 0], // Array [x, y, z]
    "chromaKeyFilteredVideo": "#FF0000" // HEX Color Code
  },
  {
    "id": "4",
    "type": "image",
    "title": "imageimage",
    "uri": "",
    "position": [0, 0, 0], // Array [x, y, z]
    "scale": [0, 0, 0], // Array [x, y, z]
    "rotation": [0, 0, 0] // Array [x, y, z]
  },
  { 
    "id": "5", 
    "type": "texture", 
    "title": "texturetexture", 
    "uri": "" 
  }
]