Skip to main content

light_point_properties_v3_15.json

light_point_properties_v3_15.json

Point light properties

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Point light properties",
  "type": "object",
  "properties": {
    "position": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 3,
      "maxItems": 3
    },
    "rotation": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 3,
      "maxItems": 3,
      "description": "Angles on X, Y & Z in degrees"
    },
    "enabled": {
      "type": "boolean"
    },
    "color": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 255
      },
      "minItems": 3,
      "maxItems": 3
    },
    "intensity": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "castshadow": {
      "type": "boolean"
    },
    "show3dobject": {
      "type": "boolean"
    },
    "distance": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    }
  }
}

Did this answer your question?