Three.js · JSON-LD Context

Threejs Context

JSON-LD context defining the semantic vocabulary for Threejs from Three.js.

58 Classes 5 Properties 3 Namespaces
View Context View on GitHub

Namespaces

threejs: https://threejs.org/docs/#api/en/
schema: https://schema.org/
khronos: https://www.khronos.org/gltf/

Classes

Scene Object3D Group Mesh SkinnedMesh InstancedMesh BatchedMesh Line Points Sprite Bone Skeleton Camera PerspectiveCamera OrthographicCamera ArrayCamera StereoCamera CubeCamera Light AmbientLight DirectionalLight PointLight SpotLight HemisphereLight RectAreaLight LightProbe BufferGeometry BoxGeometry SphereGeometry PlaneGeometry Material MeshStandardMaterial MeshPhysicalMaterial MeshBasicMaterial ShaderMaterial Texture CubeTexture VideoTexture CompressedTexture WebGLRenderer WebGPURenderer AnimationMixer AnimationClip KeyframeTrack Vector3 Vector2 Quaternion Euler Matrix4 Color uuid name type geometry material visible castShadow receiveShadow

Properties

Property Type Container
position Vector3
rotation Euler
scale Vector3
children set
gltf reference

JSON-LD Document

threejs-context.jsonld Raw ↑
{
  "@context": {
    "@version": 1.1,
    "threejs": "https://threejs.org/docs/#api/en/",
    "schema": "https://schema.org/",
    "khronos": "https://www.khronos.org/gltf/",
    "Scene": "threejs:scenes/Scene",
    "Object3D": "threejs:core/Object3D",
    "Group": "threejs:objects/Group",
    "Mesh": "threejs:objects/Mesh",
    "SkinnedMesh": "threejs:objects/SkinnedMesh",
    "InstancedMesh": "threejs:objects/InstancedMesh",
    "BatchedMesh": "threejs:objects/BatchedMesh",
    "Line": "threejs:objects/Line",
    "Points": "threejs:objects/Points",
    "Sprite": "threejs:objects/Sprite",
    "Bone": "threejs:objects/Bone",
    "Skeleton": "threejs:objects/Skeleton",
    "Camera": "threejs:cameras/Camera",
    "PerspectiveCamera": "threejs:cameras/PerspectiveCamera",
    "OrthographicCamera": "threejs:cameras/OrthographicCamera",
    "ArrayCamera": "threejs:cameras/ArrayCamera",
    "StereoCamera": "threejs:cameras/StereoCamera",
    "CubeCamera": "threejs:cameras/CubeCamera",
    "Light": "threejs:lights/Light",
    "AmbientLight": "threejs:lights/AmbientLight",
    "DirectionalLight": "threejs:lights/DirectionalLight",
    "PointLight": "threejs:lights/PointLight",
    "SpotLight": "threejs:lights/SpotLight",
    "HemisphereLight": "threejs:lights/HemisphereLight",
    "RectAreaLight": "threejs:lights/RectAreaLight",
    "LightProbe": "threejs:lights/LightProbe",
    "BufferGeometry": "threejs:core/BufferGeometry",
    "BoxGeometry": "threejs:geometries/BoxGeometry",
    "SphereGeometry": "threejs:geometries/SphereGeometry",
    "PlaneGeometry": "threejs:geometries/PlaneGeometry",
    "Material": "threejs:materials/Material",
    "MeshStandardMaterial": "threejs:materials/MeshStandardMaterial",
    "MeshPhysicalMaterial": "threejs:materials/MeshPhysicalMaterial",
    "MeshBasicMaterial": "threejs:materials/MeshBasicMaterial",
    "ShaderMaterial": "threejs:materials/ShaderMaterial",
    "Texture": "threejs:textures/Texture",
    "CubeTexture": "threejs:textures/CubeTexture",
    "VideoTexture": "threejs:textures/VideoTexture",
    "CompressedTexture": "threejs:textures/CompressedTexture",
    "WebGLRenderer": "threejs:renderers/WebGLRenderer",
    "WebGPURenderer": "threejs:renderers/WebGPURenderer",
    "AnimationMixer": "threejs:animation/AnimationMixer",
    "AnimationClip": "threejs:animation/AnimationClip",
    "KeyframeTrack": "threejs:animation/KeyframeTrack",
    "Vector3": "threejs:math/Vector3",
    "Vector2": "threejs:math/Vector2",
    "Quaternion": "threejs:math/Quaternion",
    "Euler": "threejs:math/Euler",
    "Matrix4": "threejs:math/Matrix4",
    "Color": "threejs:math/Color",
    "uuid": "schema:identifier",
    "name": "schema:name",
    "type": "schema:additionalType",
    "position": {
      "@id": "threejs:core/Object3D#position",
      "@type": "Vector3"
    },
    "rotation": {
      "@id": "threejs:core/Object3D#rotation",
      "@type": "Euler"
    },
    "scale": {
      "@id": "threejs:core/Object3D#scale",
      "@type": "Vector3"
    },
    "children": {
      "@id": "threejs:core/Object3D#children",
      "@container": "@set"
    },
    "geometry": "threejs:core/Object3D#geometry",
    "material": "threejs:core/Object3D#material",
    "visible": "threejs:core/Object3D#visible",
    "castShadow": "threejs:core/Object3D#castShadow",
    "receiveShadow": "threejs:core/Object3D#receiveShadow",
    "gltf": {
      "@id": "khronos:format",
      "@type": "@id"
    }
  }
}