@vyr/three 0.0.32 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/actor/ComposerServiceActor.d.ts +7 -8
- package/build/actor/ComposerServiceActor.js +4 -5
- package/build/actor/ComposerServiceActor.js.map +1 -1
- package/build/actor/GeometryActor.d.ts +1 -2
- package/build/actor/GeometryActor.js +1 -2
- package/build/actor/GeometryActor.js.map +1 -1
- package/build/actor/HTMLConvertActor.d.ts +1 -2
- package/build/actor/HTMLConvertActor.js +7 -8
- package/build/actor/HTMLConvertActor.js.map +1 -1
- package/build/actor/MaterialActor.d.ts +1 -2
- package/build/actor/MaterialActor.js +1 -2
- package/build/actor/MaterialActor.js.map +1 -1
- package/build/actor/NodeActor.d.ts +1 -2
- package/build/actor/NodeActor.js +1 -2
- package/build/actor/NodeActor.js.map +1 -1
- package/build/actor/OrbitControllerActor.d.ts +5 -6
- package/build/actor/OrbitControllerActor.js +14 -18
- package/build/actor/OrbitControllerActor.js.map +1 -1
- package/build/actor/PassActor.d.ts +4 -5
- package/build/actor/PassActor.js +1 -2
- package/build/actor/PassActor.js.map +1 -1
- package/build/actor/{SceneServiceActor.d.ts → Scene3DServiceActor.d.ts} +8 -7
- package/build/actor/{SceneServiceActor.js → Scene3DServiceActor.js} +43 -36
- package/build/actor/Scene3DServiceActor.js.map +1 -0
- package/build/actor/TextureActor.d.ts +1 -2
- package/build/actor/TextureActor.js +1 -2
- package/build/actor/TextureActor.js.map +1 -1
- package/build/actor/TransformControllerActor.d.ts +3 -4
- package/build/actor/TransformControllerActor.js +1 -2
- package/build/actor/TransformControllerActor.js.map +1 -1
- package/build/actor/index.d.ts +1 -1
- package/build/actor/index.js +1 -1
- package/build/actor/index.js.map +1 -1
- package/build/asset/index.js +39 -56
- package/build/asset/index.js.map +1 -1
- package/build/controls/CameraControls.d.ts +2 -2
- package/build/controls/CameraControls.js +1 -2
- package/build/controls/CameraControls.js.map +1 -1
- package/build/controls/TransformControls.d.ts +7 -8
- package/build/controls/TransformControls.js +12 -15
- package/build/controls/TransformControls.js.map +1 -1
- package/build/descriptor/ComposerService.d.ts +60 -0
- package/build/descriptor/ComposerService.js +68 -0
- package/build/descriptor/ComposerService.js.map +1 -0
- package/build/descriptor/GeoMap.d.ts +49 -0
- package/build/descriptor/GeoMap.js +59 -0
- package/build/descriptor/GeoMap.js.map +1 -0
- package/build/descriptor/HTMLConvert.d.ts +13 -0
- package/build/descriptor/HTMLConvert.js +17 -0
- package/build/descriptor/HTMLConvert.js.map +1 -0
- package/build/descriptor/InstancedMesh.d.ts +30 -0
- package/build/descriptor/InstancedMesh.js +24 -0
- package/build/descriptor/InstancedMesh.js.map +1 -0
- package/build/descriptor/Mesh.d.ts +25 -0
- package/build/descriptor/Mesh.js +31 -0
- package/build/descriptor/Mesh.js.map +1 -0
- package/build/descriptor/Model.d.ts +19 -0
- package/build/descriptor/Model.js +24 -0
- package/build/descriptor/Model.js.map +1 -0
- package/build/descriptor/OrbitController.d.ts +156 -0
- package/build/descriptor/OrbitController.js +169 -0
- package/build/descriptor/OrbitController.js.map +1 -0
- package/build/descriptor/OrthographicCamera.d.ts +14 -0
- package/build/descriptor/OrthographicCamera.js +18 -0
- package/build/descriptor/OrthographicCamera.js.map +1 -0
- package/build/descriptor/Particle.d.ts +144 -0
- package/build/descriptor/Particle.js +175 -0
- package/build/descriptor/Particle.js.map +1 -0
- package/build/descriptor/Pass.d.ts +41 -0
- package/build/descriptor/Pass.js +43 -0
- package/build/descriptor/Pass.js.map +1 -0
- package/build/descriptor/PerspectiveCamera.d.ts +20 -0
- package/build/descriptor/PerspectiveCamera.js +25 -0
- package/build/descriptor/PerspectiveCamera.js.map +1 -0
- package/build/descriptor/Points.d.ts +25 -0
- package/build/descriptor/Points.js +31 -0
- package/build/descriptor/Points.js.map +1 -0
- package/build/descriptor/Scene3DService.d.ts +62 -0
- package/build/descriptor/Scene3DService.js +74 -0
- package/build/descriptor/Scene3DService.js.map +1 -0
- package/build/descriptor/Sprite.d.ts +20 -0
- package/build/descriptor/Sprite.js +26 -0
- package/build/descriptor/Sprite.js.map +1 -0
- package/build/descriptor/Text3D.d.ts +34 -0
- package/build/descriptor/Text3D.js +49 -0
- package/build/descriptor/Text3D.js.map +1 -0
- package/build/descriptor/TransformController.d.ts +22 -0
- package/build/descriptor/TransformController.js +31 -0
- package/build/descriptor/TransformController.js.map +1 -0
- package/build/descriptor/animation/AnimationAction.d.ts +63 -0
- package/build/descriptor/animation/AnimationAction.js +81 -0
- package/build/descriptor/animation/AnimationAction.js.map +1 -0
- package/build/descriptor/geometry/BoxGeometry.d.ts +27 -0
- package/build/descriptor/geometry/BoxGeometry.js +36 -0
- package/build/descriptor/geometry/BoxGeometry.js.map +1 -0
- package/build/descriptor/geometry/BufferGeometry.d.ts +17 -0
- package/build/descriptor/geometry/BufferGeometry.js +21 -0
- package/build/descriptor/geometry/BufferGeometry.js.map +1 -0
- package/build/descriptor/geometry/CircleGeometry.d.ts +23 -0
- package/build/descriptor/geometry/CircleGeometry.js +30 -0
- package/build/descriptor/geometry/CircleGeometry.js.map +1 -0
- package/build/descriptor/geometry/CylinderGeometry.d.ts +31 -0
- package/build/descriptor/geometry/CylinderGeometry.js +42 -0
- package/build/descriptor/geometry/CylinderGeometry.js.map +1 -0
- package/build/descriptor/geometry/ExtrudeGeometry.d.ts +37 -0
- package/build/descriptor/geometry/ExtrudeGeometry.js +51 -0
- package/build/descriptor/geometry/ExtrudeGeometry.js.map +1 -0
- package/build/descriptor/geometry/Geometry.d.ts +11 -0
- package/build/descriptor/geometry/Geometry.js +2 -0
- package/build/descriptor/geometry/Geometry.js.map +1 -0
- package/build/descriptor/geometry/PlaneGeometry.d.ts +23 -0
- package/build/descriptor/geometry/PlaneGeometry.js +30 -0
- package/build/descriptor/geometry/PlaneGeometry.js.map +1 -0
- package/build/descriptor/geometry/RingGeometry.d.ts +27 -0
- package/build/descriptor/geometry/RingGeometry.js +36 -0
- package/build/descriptor/geometry/RingGeometry.js.map +1 -0
- package/build/descriptor/geometry/SphereGeometry.d.ts +29 -0
- package/build/descriptor/geometry/SphereGeometry.js +39 -0
- package/build/descriptor/geometry/SphereGeometry.js.map +1 -0
- package/build/descriptor/geometry/SurfaceGeometry.d.ts +15 -0
- package/build/descriptor/geometry/SurfaceGeometry.js +20 -0
- package/build/descriptor/geometry/SurfaceGeometry.js.map +1 -0
- package/build/descriptor/geometry/TubeGeometry.d.ts +27 -0
- package/build/descriptor/geometry/TubeGeometry.js +36 -0
- package/build/descriptor/geometry/TubeGeometry.js.map +1 -0
- package/build/descriptor/helper/AxesHelper.d.ts +11 -0
- package/build/descriptor/helper/AxesHelper.js +13 -0
- package/build/descriptor/helper/AxesHelper.js.map +1 -0
- package/build/descriptor/index.d.ts +45 -43
- package/build/descriptor/index.js +45 -45
- package/build/descriptor/index.js.map +1 -1
- package/build/descriptor/light/AmbientLight.d.ts +19 -0
- package/build/descriptor/light/AmbientLight.js +24 -0
- package/build/descriptor/light/AmbientLight.js.map +1 -0
- package/build/descriptor/light/DirectionalLight.d.ts +49 -0
- package/build/descriptor/light/DirectionalLight.js +39 -0
- package/build/descriptor/light/DirectionalLight.js.map +1 -0
- package/build/descriptor/light/HemisphereLight.d.ts +21 -0
- package/build/descriptor/light/HemisphereLight.js +27 -0
- package/build/descriptor/light/HemisphereLight.js.map +1 -0
- package/build/descriptor/light/Light.d.ts +15 -0
- package/build/descriptor/light/Light.js +2 -0
- package/build/descriptor/light/Light.js.map +1 -0
- package/build/descriptor/light/PointLight.d.ts +32 -0
- package/build/descriptor/light/PointLight.js +39 -0
- package/build/descriptor/light/PointLight.js.map +1 -0
- package/build/descriptor/light/RectAreaLight.d.ts +25 -0
- package/build/descriptor/light/RectAreaLight.js +33 -0
- package/build/descriptor/light/RectAreaLight.js.map +1 -0
- package/build/descriptor/light/SpotLight.d.ts +38 -0
- package/build/descriptor/light/SpotLight.js +48 -0
- package/build/descriptor/light/SpotLight.js.map +1 -0
- package/build/descriptor/material/Material.d.ts +109 -0
- package/build/descriptor/material/Material.js +86 -0
- package/build/descriptor/material/Material.js.map +1 -0
- package/build/descriptor/material/MeshBasicMaterial.d.ts +69 -0
- package/build/descriptor/material/MeshBasicMaterial.js +95 -0
- package/build/descriptor/material/MeshBasicMaterial.js.map +1 -0
- package/build/descriptor/material/MeshPhongMaterial.d.ts +99 -0
- package/build/descriptor/material/MeshPhongMaterial.js +142 -0
- package/build/descriptor/material/MeshPhongMaterial.js.map +1 -0
- package/build/descriptor/material/MeshStandardMaterial.d.ts +97 -0
- package/build/descriptor/material/MeshStandardMaterial.js +139 -0
- package/build/descriptor/material/MeshStandardMaterial.js.map +1 -0
- package/build/descriptor/material/PointsMaterial.d.ts +53 -0
- package/build/descriptor/material/PointsMaterial.js +73 -0
- package/build/descriptor/material/PointsMaterial.js.map +1 -0
- package/build/descriptor/material/ShaderMaterial.d.ts +59 -0
- package/build/descriptor/material/ShaderMaterial.js +61 -0
- package/build/descriptor/material/ShaderMaterial.js.map +1 -0
- package/build/descriptor/material/ShadowMaterial.d.ts +45 -0
- package/build/descriptor/material/ShadowMaterial.js +61 -0
- package/build/descriptor/material/ShadowMaterial.js.map +1 -0
- package/build/descriptor/material/SpriteMaterial.d.ts +53 -0
- package/build/descriptor/material/SpriteMaterial.js +73 -0
- package/build/descriptor/material/SpriteMaterial.js.map +1 -0
- package/build/descriptor/texture/Texture.d.ts +148 -0
- package/build/descriptor/texture/Texture.js +170 -0
- package/build/descriptor/texture/Texture.js.map +1 -0
- package/build/index.d.ts +0 -1
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/build/interpreter/ComposerServiceInterpreter.js +3 -3
- package/build/interpreter/ComposerServiceInterpreter.js.map +1 -1
- package/build/interpreter/GeoMapInterpreter.d.ts +14 -15
- package/build/interpreter/GeoMapInterpreter.js +69 -74
- package/build/interpreter/GeoMapInterpreter.js.map +1 -1
- package/build/interpreter/HTMLConvertInterpreter.d.ts +5 -6
- package/build/interpreter/HTMLConvertInterpreter.js +3 -4
- package/build/interpreter/HTMLConvertInterpreter.js.map +1 -1
- package/build/interpreter/InstancedMeshInterpreter.d.ts +11 -12
- package/build/interpreter/InstancedMeshInterpreter.js +15 -16
- package/build/interpreter/InstancedMeshInterpreter.js.map +1 -1
- package/build/interpreter/MeshInterpreter.d.ts +4 -5
- package/build/interpreter/MeshInterpreter.js +5 -6
- package/build/interpreter/MeshInterpreter.js.map +1 -1
- package/build/interpreter/ModelInterpreter.d.ts +6 -7
- package/build/interpreter/ModelInterpreter.js +3 -4
- package/build/interpreter/ModelInterpreter.js.map +1 -1
- package/build/interpreter/NodeInterpreter.d.ts +9 -10
- package/build/interpreter/NodeInterpreter.js +3 -4
- package/build/interpreter/NodeInterpreter.js.map +1 -1
- package/build/interpreter/OrbitControllerInterpreter.d.ts +8 -9
- package/build/interpreter/OrbitControllerInterpreter.js +3 -4
- package/build/interpreter/OrbitControllerInterpreter.js.map +1 -1
- package/build/interpreter/OrthographicCameraInterpreter.d.ts +3 -4
- package/build/interpreter/OrthographicCameraInterpreter.js +3 -4
- package/build/interpreter/OrthographicCameraInterpreter.js.map +1 -1
- package/build/interpreter/ParticleInterpreter.d.ts +5 -6
- package/build/interpreter/ParticleInterpreter.js +8 -9
- package/build/interpreter/ParticleInterpreter.js.map +1 -1
- package/build/interpreter/PerspectiveCameraInterpreter.d.ts +7 -8
- package/build/interpreter/PerspectiveCameraInterpreter.js +5 -6
- package/build/interpreter/PerspectiveCameraInterpreter.js.map +1 -1
- package/build/interpreter/PointsInterpreter.d.ts +7 -8
- package/build/interpreter/PointsInterpreter.js +5 -6
- package/build/interpreter/PointsInterpreter.js.map +1 -1
- package/build/interpreter/Scene3DServiceInterpreter.d.ts +27 -0
- package/build/interpreter/{SceneServiceInterpreter.js → Scene3DServiceInterpreter.js} +16 -17
- package/build/interpreter/Scene3DServiceInterpreter.js.map +1 -0
- package/build/interpreter/SceneInterpreter.d.ts +8 -0
- package/build/interpreter/{ServiceSchedulerInterpreter.js → SceneInterpreter.js} +4 -5
- package/build/interpreter/SceneInterpreter.js.map +1 -0
- package/build/interpreter/SpriteInterpreter.d.ts +6 -7
- package/build/interpreter/SpriteInterpreter.js +5 -6
- package/build/interpreter/SpriteInterpreter.js.map +1 -1
- package/build/interpreter/Text3DInterpreter.d.ts +15 -0
- package/build/interpreter/{TextInterpreter.js → Text3DInterpreter.js} +5 -6
- package/build/interpreter/Text3DInterpreter.js.map +1 -0
- package/build/interpreter/TransformControllerInterpreter.d.ts +7 -8
- package/build/interpreter/TransformControllerInterpreter.js +3 -4
- package/build/interpreter/TransformControllerInterpreter.js.map +1 -1
- package/build/interpreter/animation/AnimationActionInterpreter.d.ts +8 -9
- package/build/interpreter/animation/AnimationActionInterpreter.js +9 -10
- package/build/interpreter/animation/AnimationActionInterpreter.js.map +1 -1
- package/build/interpreter/geometry/BoxGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/BoxGeometryInterpreter.js +5 -6
- package/build/interpreter/geometry/BoxGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/BufferGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/BufferGeometryInterpreter.js +8 -9
- package/build/interpreter/geometry/BufferGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/CircleGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/CircleGeometryInterpreter.js +5 -6
- package/build/interpreter/geometry/CircleGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/CylinderGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/CylinderGeometryInterpreter.js +5 -6
- package/build/interpreter/geometry/CylinderGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/ExtrudeGeometryInterpreter.d.ts +8 -9
- package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js +7 -8
- package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/PlaneGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/PlaneGeometryInterpreter.js +5 -6
- package/build/interpreter/geometry/PlaneGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/RingGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/RingGeometryInterpreter.js +5 -6
- package/build/interpreter/geometry/RingGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/SphereGeometryInterpreter.d.ts +7 -8
- package/build/interpreter/geometry/SphereGeometryInterpreter.js +5 -6
- package/build/interpreter/geometry/SphereGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/SurfaceGeometryInterpreter.d.ts +4 -5
- package/build/interpreter/geometry/SurfaceGeometryInterpreter.js +3 -4
- package/build/interpreter/geometry/SurfaceGeometryInterpreter.js.map +1 -1
- package/build/interpreter/geometry/TubeGeometryInterpreter.d.ts +8 -9
- package/build/interpreter/geometry/TubeGeometryInterpreter.js +7 -8
- package/build/interpreter/geometry/TubeGeometryInterpreter.js.map +1 -1
- package/build/interpreter/helper/AxesHelperInterpreter.d.ts +7 -8
- package/build/interpreter/helper/AxesHelperInterpreter.js +5 -6
- package/build/interpreter/helper/AxesHelperInterpreter.js.map +1 -1
- package/build/interpreter/index.d.ts +3 -3
- package/build/interpreter/index.js +3 -3
- package/build/interpreter/index.js.map +1 -1
- package/build/interpreter/light/AmbientLightInterpreter.d.ts +7 -8
- package/build/interpreter/light/AmbientLightInterpreter.js +6 -7
- package/build/interpreter/light/AmbientLightInterpreter.js.map +1 -1
- package/build/interpreter/light/DirectionalLightInterpreter.d.ts +9 -10
- package/build/interpreter/light/DirectionalLightInterpreter.js +6 -7
- package/build/interpreter/light/DirectionalLightInterpreter.js.map +1 -1
- package/build/interpreter/light/HemisphereLightInterpreter.d.ts +7 -8
- package/build/interpreter/light/HemisphereLightInterpreter.js +7 -8
- package/build/interpreter/light/HemisphereLightInterpreter.js.map +1 -1
- package/build/interpreter/light/PointLightInterpreter.d.ts +8 -9
- package/build/interpreter/light/PointLightInterpreter.js +5 -6
- package/build/interpreter/light/PointLightInterpreter.js.map +1 -1
- package/build/interpreter/light/RectAreaLightInterpreter.d.ts +7 -8
- package/build/interpreter/light/RectAreaLightInterpreter.js +5 -6
- package/build/interpreter/light/RectAreaLightInterpreter.js.map +1 -1
- package/build/interpreter/light/SpotLightInterpreter.d.ts +9 -10
- package/build/interpreter/light/SpotLightInterpreter.js +5 -6
- package/build/interpreter/light/SpotLightInterpreter.js.map +1 -1
- package/build/interpreter/material/MaterialInterpreter.d.ts +5 -7
- package/build/interpreter/material/MaterialInterpreter.js +2 -6
- package/build/interpreter/material/MaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/MeshBasicMaterialInterpreter.d.ts +6 -7
- package/build/interpreter/material/MeshBasicMaterialInterpreter.js +7 -8
- package/build/interpreter/material/MeshBasicMaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/MeshPhongMaterialInterpreter.d.ts +7 -8
- package/build/interpreter/material/MeshPhongMaterialInterpreter.js +8 -9
- package/build/interpreter/material/MeshPhongMaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/MeshStandardMaterialInterpreter.d.ts +7 -8
- package/build/interpreter/material/MeshStandardMaterialInterpreter.js +8 -9
- package/build/interpreter/material/MeshStandardMaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/PointsMaterialInterpreter.d.ts +6 -7
- package/build/interpreter/material/PointsMaterialInterpreter.js +7 -8
- package/build/interpreter/material/PointsMaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/ShaderMaterialInterpreter.d.ts +7 -8
- package/build/interpreter/material/ShaderMaterialInterpreter.js +8 -9
- package/build/interpreter/material/ShaderMaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/ShadowMaterialInterpreter.d.ts +6 -7
- package/build/interpreter/material/ShadowMaterialInterpreter.js +7 -9
- package/build/interpreter/material/ShadowMaterialInterpreter.js.map +1 -1
- package/build/interpreter/material/SpriteMaterialInterpreter.d.ts +6 -7
- package/build/interpreter/material/SpriteMaterialInterpreter.js +7 -10
- package/build/interpreter/material/SpriteMaterialInterpreter.js.map +1 -1
- package/build/interpreter/texture/TextureInterpreter.d.ts +8 -9
- package/build/interpreter/texture/TextureInterpreter.js +5 -6
- package/build/interpreter/texture/TextureInterpreter.js.map +1 -1
- package/build/locale/Language.d.ts +1 -2
- package/build/locale/Language.js +1 -2
- package/build/locale/Language.js.map +1 -1
- package/build/locale/LanguageProvider.d.ts +2 -4
- package/build/locale/LanguageProvider.js +1 -3
- package/build/locale/LanguageProvider.js.map +1 -1
- package/build/utils/dispose/index.d.ts +1 -2
- package/build/utils/dispose/index.js +1 -2
- package/build/utils/dispose/index.js.map +1 -1
- package/build/utils/geometry/index.d.ts +8 -8
- package/build/utils/geometry/index.js +9 -7
- package/build/utils/geometry/index.js.map +1 -1
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/build/utils/index.js.map +1 -1
- package/build/utils/light/index.d.ts +2 -0
- package/build/utils/light/index.js +4 -0
- package/build/utils/light/index.js.map +1 -0
- package/build/utils/material/index.d.ts +7 -6
- package/build/utils/material/index.js +9 -7
- package/build/utils/material/index.js.map +1 -1
- package/build/utils/pickup/index.d.ts +1 -2
- package/build/utils/pickup/index.js +4 -5
- package/build/utils/pickup/index.js.map +1 -1
- package/build/utils/random/index.d.ts +1 -2
- package/build/utils/random/index.js +1 -2
- package/build/utils/random/index.js.map +1 -1
- package/build/utils/text/index.d.ts +2 -2
- package/build/utils/text/index.js +1 -2
- package/build/utils/text/index.js.map +1 -1
- package/build/utils/texture/index.d.ts +1 -2
- package/build/utils/texture/index.js +3 -4
- package/build/utils/texture/index.js.map +1 -1
- package/package.json +1 -1
- package/src/actor/ComposerServiceActor.ts +9 -13
- package/src/actor/GeometryActor.ts +2 -4
- package/src/actor/HTMLConvertActor.ts +8 -10
- package/src/actor/MaterialActor.ts +2 -4
- package/src/actor/NodeActor.ts +23 -25
- package/src/actor/OrbitControllerActor.ts +21 -28
- package/src/actor/PassActor.ts +5 -7
- package/src/actor/{SceneServiceActor.ts → Scene3DServiceActor.ts} +49 -41
- package/src/actor/TextureActor.ts +2 -4
- package/src/actor/TransformControllerActor.ts +3 -5
- package/src/actor/index.ts +1 -1
- package/src/asset/index.ts +38 -53
- package/src/controls/CameraControls.ts +1 -3
- package/src/controls/TransformControls.ts +18 -24
- package/src/descriptor/ComposerService.ts +72 -0
- package/src/descriptor/GeoMap.ts +60 -0
- package/src/descriptor/HTMLConvert.ts +18 -0
- package/src/descriptor/InstancedMesh.ts +38 -0
- package/src/descriptor/Mesh.ts +32 -0
- package/src/descriptor/Model.ts +26 -0
- package/src/descriptor/OrbitController.ts +186 -0
- package/src/descriptor/OrthographicCamera.ts +19 -0
- package/src/descriptor/Particle.ts +177 -0
- package/src/descriptor/Pass.ts +54 -0
- package/src/descriptor/PerspectiveCamera.ts +27 -0
- package/src/descriptor/Points.ts +32 -0
- package/src/descriptor/Scene3DService.ts +80 -0
- package/src/descriptor/Sprite.ts +27 -0
- package/src/descriptor/Text3D.ts +51 -0
- package/src/descriptor/TransformController.ts +33 -0
- package/src/descriptor/animation/AnimationAction.ts +82 -0
- package/src/descriptor/geometry/BoxGeometry.ts +38 -0
- package/src/descriptor/geometry/BufferGeometry.ts +23 -0
- package/src/descriptor/geometry/CircleGeometry.ts +32 -0
- package/src/descriptor/geometry/CylinderGeometry.ts +44 -0
- package/src/descriptor/geometry/ExtrudeGeometry.ts +53 -0
- package/src/descriptor/geometry/Geometry.ts +12 -0
- package/src/descriptor/geometry/PlaneGeometry.ts +32 -0
- package/src/descriptor/geometry/RingGeometry.ts +38 -0
- package/src/descriptor/geometry/SphereGeometry.ts +41 -0
- package/src/descriptor/geometry/SurfaceGeometry.ts +21 -0
- package/src/descriptor/geometry/TubeGeometry.ts +38 -0
- package/src/descriptor/helper/AxesHelper.ts +13 -0
- package/src/descriptor/index.ts +45 -45
- package/src/descriptor/light/AmbientLight.ts +26 -0
- package/src/descriptor/light/DirectionalLight.ts +62 -0
- package/src/descriptor/light/HemisphereLight.ts +29 -0
- package/src/descriptor/light/Light.ts +16 -0
- package/src/descriptor/light/PointLight.ts +41 -0
- package/src/descriptor/light/RectAreaLight.ts +35 -0
- package/src/descriptor/light/SpotLight.ts +50 -0
- package/src/descriptor/material/Material.ts +115 -0
- package/src/descriptor/material/MeshBasicMaterial.ts +96 -0
- package/src/descriptor/material/MeshPhongMaterial.ts +143 -0
- package/src/descriptor/material/MeshStandardMaterial.ts +141 -0
- package/src/descriptor/material/PointsMaterial.ts +74 -0
- package/src/descriptor/material/ShaderMaterial.ts +77 -0
- package/src/descriptor/material/ShadowMaterial.ts +62 -0
- package/src/descriptor/material/SpriteMaterial.ts +74 -0
- package/src/descriptor/texture/Texture.ts +172 -0
- package/src/index.ts +0 -1
- package/src/interpreter/ComposerServiceInterpreter.ts +3 -3
- package/src/interpreter/GeoMapInterpreter.ts +91 -94
- package/src/interpreter/HTMLConvertInterpreter.ts +7 -9
- package/src/interpreter/InstancedMeshInterpreter.ts +22 -24
- package/src/interpreter/MeshInterpreter.ts +22 -24
- package/src/interpreter/ModelInterpreter.ts +8 -10
- package/src/interpreter/NodeInterpreter.ts +11 -13
- package/src/interpreter/OrbitControllerInterpreter.ts +10 -13
- package/src/interpreter/OrthographicCameraInterpreter.ts +5 -8
- package/src/interpreter/ParticleInterpreter.ts +15 -17
- package/src/interpreter/PerspectiveCameraInterpreter.ts +11 -14
- package/src/interpreter/PointsInterpreter.ts +11 -13
- package/src/interpreter/Scene3DServiceInterpreter.ts +118 -0
- package/src/interpreter/{ServiceSchedulerInterpreter.ts → SceneInterpreter.ts} +5 -7
- package/src/interpreter/SpriteInterpreter.ts +10 -12
- package/src/interpreter/{TextInterpreter.ts → Text3DInterpreter.ts} +9 -11
- package/src/interpreter/TransformControllerInterpreter.ts +9 -12
- package/src/interpreter/animation/AnimationActionInterpreter.ts +17 -19
- package/src/interpreter/geometry/BoxGeometryInterpreter.ts +12 -14
- package/src/interpreter/geometry/BufferGeometryInterpreter.ts +15 -17
- package/src/interpreter/geometry/CircleGeometryInterpreter.ts +12 -14
- package/src/interpreter/geometry/CylinderGeometryInterpreter.ts +12 -14
- package/src/interpreter/geometry/ExtrudeGeometryInterpreter.ts +15 -17
- package/src/interpreter/geometry/PlaneGeometryInterpreter.ts +12 -14
- package/src/interpreter/geometry/RingGeometryInterpreter.ts +12 -14
- package/src/interpreter/geometry/SphereGeometryInterpreter.ts +12 -14
- package/src/interpreter/geometry/SurfaceGeometryInterpreter.ts +6 -8
- package/src/interpreter/geometry/TubeGeometryInterpreter.ts +15 -17
- package/src/interpreter/helper/AxesHelperInterpreter.ts +12 -14
- package/src/interpreter/index.ts +3 -3
- package/src/interpreter/light/AmbientLightInterpreter.ts +12 -14
- package/src/interpreter/light/DirectionalLightInterpreter.ts +15 -17
- package/src/interpreter/light/HemisphereLightInterpreter.ts +14 -17
- package/src/interpreter/light/PointLightInterpreter.ts +13 -16
- package/src/interpreter/light/RectAreaLightInterpreter.ts +12 -14
- package/src/interpreter/light/SpotLightInterpreter.ts +14 -17
- package/src/interpreter/material/MaterialInterpreter.ts +7 -12
- package/src/interpreter/material/MeshBasicMaterialInterpreter.ts +12 -14
- package/src/interpreter/material/MeshPhongMaterialInterpreter.ts +13 -15
- package/src/interpreter/material/MeshStandardMaterialInterpreter.ts +13 -15
- package/src/interpreter/material/PointsMaterialInterpreter.ts +12 -14
- package/src/interpreter/material/ShaderMaterialInterpreter.ts +13 -15
- package/src/interpreter/material/ShadowMaterialInterpreter.ts +12 -15
- package/src/interpreter/material/SpriteMaterialInterpreter.ts +12 -16
- package/src/interpreter/texture/TextureInterpreter.ts +11 -13
- package/src/locale/Language.ts +1 -5
- package/src/locale/LanguageProvider.ts +2 -9
- package/src/utils/dispose/index.ts +2 -4
- package/src/utils/geometry/index.ts +9 -14
- package/src/utils/index.ts +2 -1
- package/src/utils/light/index.ts +5 -0
- package/src/utils/material/index.ts +14 -16
- package/src/utils/pickup/index.ts +4 -8
- package/src/utils/random/index.ts +1 -5
- package/src/utils/text/index.ts +1 -5
- package/src/utils/texture/index.ts +4 -6
- package/build/actor/SceneServiceActor.js.map +0 -1
- package/build/descriptor/ComposerServiceDescriptor.d.ts +0 -33
- package/build/descriptor/ComposerServiceDescriptor.js +0 -42
- package/build/descriptor/ComposerServiceDescriptor.js.map +0 -1
- package/build/descriptor/GeoMapDescriptor.d.ts +0 -12
- package/build/descriptor/GeoMapDescriptor.js +0 -22
- package/build/descriptor/GeoMapDescriptor.js.map +0 -1
- package/build/descriptor/HTMLConvertDescriptor.d.ts +0 -6
- package/build/descriptor/HTMLConvertDescriptor.js +0 -10
- package/build/descriptor/HTMLConvertDescriptor.js.map +0 -1
- package/build/descriptor/InstancedMeshDescriptor.d.ts +0 -12
- package/build/descriptor/InstancedMeshDescriptor.js +0 -12
- package/build/descriptor/InstancedMeshDescriptor.js.map +0 -1
- package/build/descriptor/MeshDescriptor.d.ts +0 -8
- package/build/descriptor/MeshDescriptor.js +0 -14
- package/build/descriptor/MeshDescriptor.js.map +0 -1
- package/build/descriptor/ModelDescriptor.d.ts +0 -7
- package/build/descriptor/ModelDescriptor.js +0 -12
- package/build/descriptor/ModelDescriptor.js.map +0 -1
- package/build/descriptor/OrbitControllerDescriptor.d.ts +0 -54
- package/build/descriptor/OrbitControllerDescriptor.js +0 -73
- package/build/descriptor/OrbitControllerDescriptor.js.map +0 -1
- package/build/descriptor/OrthographicCameraDescriptor.d.ts +0 -6
- package/build/descriptor/OrthographicCameraDescriptor.js +0 -10
- package/build/descriptor/OrthographicCameraDescriptor.js.map +0 -1
- package/build/descriptor/ParticleDescriptor.d.ts +0 -55
- package/build/descriptor/ParticleDescriptor.js +0 -85
- package/build/descriptor/ParticleDescriptor.js.map +0 -1
- package/build/descriptor/PassDescriptor.d.ts +0 -16
- package/build/descriptor/PassDescriptor.js +0 -23
- package/build/descriptor/PassDescriptor.js.map +0 -1
- package/build/descriptor/PerspectiveCameraDescriptor.d.ts +0 -7
- package/build/descriptor/PerspectiveCameraDescriptor.js +0 -12
- package/build/descriptor/PerspectiveCameraDescriptor.js.map +0 -1
- package/build/descriptor/PointsDescriptor.d.ts +0 -8
- package/build/descriptor/PointsDescriptor.js +0 -14
- package/build/descriptor/PointsDescriptor.js.map +0 -1
- package/build/descriptor/SceneServiceDescriptor.d.ts +0 -20
- package/build/descriptor/SceneServiceDescriptor.js +0 -35
- package/build/descriptor/SceneServiceDescriptor.js.map +0 -1
- package/build/descriptor/SpriteDescriptor.d.ts +0 -8
- package/build/descriptor/SpriteDescriptor.js +0 -14
- package/build/descriptor/SpriteDescriptor.js.map +0 -1
- package/build/descriptor/TextDescriptor.d.ts +0 -21
- package/build/descriptor/TextDescriptor.js +0 -37
- package/build/descriptor/TextDescriptor.js.map +0 -1
- package/build/descriptor/TransformControllerDescriptor.d.ts +0 -20
- package/build/descriptor/TransformControllerDescriptor.js +0 -22
- package/build/descriptor/TransformControllerDescriptor.js.map +0 -1
- package/build/descriptor/animation/AnimationActionDescriptor.d.ts +0 -27
- package/build/descriptor/animation/AnimationActionDescriptor.js +0 -46
- package/build/descriptor/animation/AnimationActionDescriptor.js.map +0 -1
- package/build/descriptor/geometry/BoxGeometryDescriptor.d.ts +0 -14
- package/build/descriptor/geometry/BoxGeometryDescriptor.js +0 -23
- package/build/descriptor/geometry/BoxGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/BufferGeometryDescriptor.d.ts +0 -8
- package/build/descriptor/geometry/BufferGeometryDescriptor.js +0 -12
- package/build/descriptor/geometry/BufferGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/CircleGeometryDescriptor.d.ts +0 -12
- package/build/descriptor/geometry/CircleGeometryDescriptor.js +0 -19
- package/build/descriptor/geometry/CircleGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/CylinderGeometryDescriptor.d.ts +0 -16
- package/build/descriptor/geometry/CylinderGeometryDescriptor.js +0 -27
- package/build/descriptor/geometry/CylinderGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/ExtrudeGeometryDescriptor.d.ts +0 -18
- package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js +0 -33
- package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/GeometryDescriptor.d.ts +0 -5
- package/build/descriptor/geometry/GeometryDescriptor.js +0 -7
- package/build/descriptor/geometry/GeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/PlaneGeometryDescriptor.d.ts +0 -12
- package/build/descriptor/geometry/PlaneGeometryDescriptor.js +0 -19
- package/build/descriptor/geometry/PlaneGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/RingGeometryDescriptor.d.ts +0 -14
- package/build/descriptor/geometry/RingGeometryDescriptor.js +0 -23
- package/build/descriptor/geometry/RingGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/SphereGeometryDescriptor.d.ts +0 -14
- package/build/descriptor/geometry/SphereGeometryDescriptor.js +0 -24
- package/build/descriptor/geometry/SphereGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/SurfaceGeometryDescriptor.d.ts +0 -8
- package/build/descriptor/geometry/SurfaceGeometryDescriptor.js +0 -12
- package/build/descriptor/geometry/SurfaceGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/TubeGeometryDescriptor.d.ts +0 -13
- package/build/descriptor/geometry/TubeGeometryDescriptor.js +0 -23
- package/build/descriptor/geometry/TubeGeometryDescriptor.js.map +0 -1
- package/build/descriptor/helper/AxesHelperDescriptor.d.ts +0 -5
- package/build/descriptor/helper/AxesHelperDescriptor.js +0 -7
- package/build/descriptor/helper/AxesHelperDescriptor.js.map +0 -1
- package/build/descriptor/light/AmbientLightDescriptor.d.ts +0 -5
- package/build/descriptor/light/AmbientLightDescriptor.js +0 -7
- package/build/descriptor/light/AmbientLightDescriptor.js.map +0 -1
- package/build/descriptor/light/DirectionalLightDescriptor.d.ts +0 -20
- package/build/descriptor/light/DirectionalLightDescriptor.js +0 -21
- package/build/descriptor/light/DirectionalLightDescriptor.js.map +0 -1
- package/build/descriptor/light/HemisphereLightDescriptor.d.ts +0 -8
- package/build/descriptor/light/HemisphereLightDescriptor.js +0 -12
- package/build/descriptor/light/HemisphereLightDescriptor.js.map +0 -1
- package/build/descriptor/light/LightDescriptor.d.ts +0 -8
- package/build/descriptor/light/LightDescriptor.js +0 -14
- package/build/descriptor/light/LightDescriptor.js.map +0 -1
- package/build/descriptor/light/PointLightDescriptor.d.ts +0 -15
- package/build/descriptor/light/PointLightDescriptor.js +0 -21
- package/build/descriptor/light/PointLightDescriptor.js.map +0 -1
- package/build/descriptor/light/RectAreaLightDescriptor.d.ts +0 -10
- package/build/descriptor/light/RectAreaLightDescriptor.js +0 -16
- package/build/descriptor/light/RectAreaLightDescriptor.js.map +0 -1
- package/build/descriptor/light/SpotLightDescriptor.d.ts +0 -18
- package/build/descriptor/light/SpotLightDescriptor.js +0 -27
- package/build/descriptor/light/SpotLightDescriptor.js.map +0 -1
- package/build/descriptor/material/MaterialDescriptor.d.ts +0 -54
- package/build/descriptor/material/MaterialDescriptor.js +0 -73
- package/build/descriptor/material/MaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/MeshBasicMaterialDescriptor.d.ts +0 -35
- package/build/descriptor/material/MeshBasicMaterialDescriptor.js +0 -51
- package/build/descriptor/material/MeshBasicMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/MeshPhongMaterialDescriptor.d.ts +0 -65
- package/build/descriptor/material/MeshPhongMaterialDescriptor.js +0 -98
- package/build/descriptor/material/MeshPhongMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/MeshStandardMaterialDescriptor.d.ts +0 -63
- package/build/descriptor/material/MeshStandardMaterialDescriptor.js +0 -95
- package/build/descriptor/material/MeshStandardMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/PointsMaterialDescriptor.d.ts +0 -19
- package/build/descriptor/material/PointsMaterialDescriptor.js +0 -29
- package/build/descriptor/material/PointsMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/ShaderMaterialDescriptor.d.ts +0 -24
- package/build/descriptor/material/ShaderMaterialDescriptor.js +0 -26
- package/build/descriptor/material/ShaderMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/ShadowMaterialDescriptor.d.ts +0 -11
- package/build/descriptor/material/ShadowMaterialDescriptor.js +0 -17
- package/build/descriptor/material/ShadowMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/SpriteMaterialDescriptor.d.ts +0 -19
- package/build/descriptor/material/SpriteMaterialDescriptor.js +0 -29
- package/build/descriptor/material/SpriteMaterialDescriptor.js.map +0 -1
- package/build/descriptor/texture/TextureDescriptor.d.ts +0 -80
- package/build/descriptor/texture/TextureDescriptor.js +0 -103
- package/build/descriptor/texture/TextureDescriptor.js.map +0 -1
- package/build/interpreter/SceneServiceInterpreter.d.ts +0 -27
- package/build/interpreter/SceneServiceInterpreter.js.map +0 -1
- package/build/interpreter/ServiceSchedulerInterpreter.d.ts +0 -9
- package/build/interpreter/ServiceSchedulerInterpreter.js.map +0 -1
- package/build/interpreter/TextInterpreter.d.ts +0 -16
- package/build/interpreter/TextInterpreter.js.map +0 -1
- package/build/preset/execute/GeoMap/drilldown.d.ts +0 -16
- package/build/preset/execute/GeoMap/drilldown.js +0 -45
- package/build/preset/execute/GeoMap/drilldown.js.map +0 -1
- package/build/preset/execute/GeoMap/index.d.ts +0 -1
- package/build/preset/execute/GeoMap/index.js +0 -2
- package/build/preset/execute/GeoMap/index.js.map +0 -1
- package/build/preset/execute/index.d.ts +0 -1
- package/build/preset/execute/index.js +0 -2
- package/build/preset/execute/index.js.map +0 -1
- package/build/preset/index.d.ts +0 -3
- package/build/preset/index.js +0 -4
- package/build/preset/index.js.map +0 -1
- package/build/preset/interaction/GeoMap/drilldown.d.ts +0 -5
- package/build/preset/interaction/GeoMap/drilldown.js +0 -19
- package/build/preset/interaction/GeoMap/drilldown.js.map +0 -1
- package/build/preset/interaction/GeoMap/index.d.ts +0 -1
- package/build/preset/interaction/GeoMap/index.js +0 -2
- package/build/preset/interaction/GeoMap/index.js.map +0 -1
- package/build/preset/interaction/index.d.ts +0 -1
- package/build/preset/interaction/index.js +0 -2
- package/build/preset/interaction/index.js.map +0 -1
- package/src/descriptor/ComposerServiceDescriptor.ts +0 -47
- package/src/descriptor/GeoMapDescriptor.ts +0 -24
- package/src/descriptor/HTMLConvertDescriptor.ts +0 -12
- package/src/descriptor/InstancedMeshDescriptor.ts +0 -21
- package/src/descriptor/MeshDescriptor.ts +0 -16
- package/src/descriptor/ModelDescriptor.ts +0 -15
- package/src/descriptor/OrbitControllerDescriptor.ts +0 -84
- package/src/descriptor/OrthographicCameraDescriptor.ts +0 -12
- package/src/descriptor/ParticleDescriptor.ts +0 -88
- package/src/descriptor/PassDescriptor.ts +0 -33
- package/src/descriptor/PerspectiveCameraDescriptor.ts +0 -15
- package/src/descriptor/PointsDescriptor.ts +0 -16
- package/src/descriptor/SceneServiceDescriptor.ts +0 -39
- package/src/descriptor/SpriteDescriptor.ts +0 -16
- package/src/descriptor/TextDescriptor.ts +0 -41
- package/src/descriptor/TransformControllerDescriptor.ts +0 -32
- package/src/descriptor/animation/AnimationActionDescriptor.ts +0 -52
- package/src/descriptor/geometry/BoxGeometryDescriptor.ts +0 -26
- package/src/descriptor/geometry/BufferGeometryDescriptor.ts +0 -15
- package/src/descriptor/geometry/CircleGeometryDescriptor.ts +0 -22
- package/src/descriptor/geometry/CylinderGeometryDescriptor.ts +0 -30
- package/src/descriptor/geometry/ExtrudeGeometryDescriptor.ts +0 -35
- package/src/descriptor/geometry/GeometryDescriptor.ts +0 -8
- package/src/descriptor/geometry/PlaneGeometryDescriptor.ts +0 -22
- package/src/descriptor/geometry/RingGeometryDescriptor.ts +0 -26
- package/src/descriptor/geometry/SphereGeometryDescriptor.ts +0 -27
- package/src/descriptor/geometry/SurfaceGeometryDescriptor.ts +0 -15
- package/src/descriptor/geometry/TubeGeometryDescriptor.ts +0 -25
- package/src/descriptor/helper/AxesHelperDescriptor.ts +0 -8
- package/src/descriptor/light/AmbientLightDescriptor.ts +0 -8
- package/src/descriptor/light/DirectionalLightDescriptor.ts +0 -33
- package/src/descriptor/light/HemisphereLightDescriptor.ts +0 -16
- package/src/descriptor/light/LightDescriptor.ts +0 -16
- package/src/descriptor/light/PointLightDescriptor.ts +0 -24
- package/src/descriptor/light/RectAreaLightDescriptor.ts +0 -20
- package/src/descriptor/light/SpotLightDescriptor.ts +0 -30
- package/src/descriptor/material/MaterialDescriptor.ts +0 -84
- package/src/descriptor/material/MeshBasicMaterialDescriptor.ts +0 -53
- package/src/descriptor/material/MeshPhongMaterialDescriptor.ts +0 -102
- package/src/descriptor/material/MeshStandardMaterialDescriptor.ts +0 -99
- package/src/descriptor/material/PointsMaterialDescriptor.ts +0 -31
- package/src/descriptor/material/ShaderMaterialDescriptor.ts +0 -35
- package/src/descriptor/material/ShadowMaterialDescriptor.ts +0 -19
- package/src/descriptor/material/SpriteMaterialDescriptor.ts +0 -31
- package/src/descriptor/texture/TextureDescriptor.ts +0 -110
- package/src/interpreter/SceneServiceInterpreter.ts +0 -119
- package/src/preset/execute/GeoMap/drilldown.ts +0 -60
- package/src/preset/execute/GeoMap/index.ts +0 -1
- package/src/preset/execute/index.ts +0 -1
- package/src/preset/index.ts +0 -7
- package/src/preset/interaction/GeoMap/drilldown.ts +0 -26
- package/src/preset/interaction/GeoMap/index.ts +0 -1
- package/src/preset/interaction/index.ts +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { DirectionalLight, Object3D } from "three";
|
|
1
|
+
import { DirectionalLight as ThreeDirectionalLight, Object3D } from "three";
|
|
2
2
|
import { Descriptor } from "@vyr/engine";
|
|
3
3
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
4
|
-
import {
|
|
4
|
+
import { DirectionalLight } from "../../descriptor";
|
|
5
5
|
import { NodeActor } from "../../actor";
|
|
6
|
-
class DirectionalLightInterpreter extends NodeInterpreter {
|
|
7
|
-
static type =
|
|
6
|
+
export class DirectionalLightInterpreter extends NodeInterpreter {
|
|
7
|
+
static type = DirectionalLight.type;
|
|
8
8
|
target = null;
|
|
9
9
|
createActor(descriptor) {
|
|
10
|
-
const actor = new NodeActor(new
|
|
10
|
+
const actor = new NodeActor(new ThreeDirectionalLight());
|
|
11
11
|
return actor;
|
|
12
12
|
}
|
|
13
13
|
setLight(actor, descriptor) {
|
|
14
|
-
actor.object.color.
|
|
14
|
+
actor.object.color.setStyle(descriptor.color);
|
|
15
15
|
actor.object.intensity = descriptor.intensity;
|
|
16
16
|
actor.object.shadow.bias = descriptor.bias;
|
|
17
17
|
actor.object.shadow.normalBias = descriptor.normalBias;
|
|
@@ -71,5 +71,4 @@ class DirectionalLightInterpreter extends NodeInterpreter {
|
|
|
71
71
|
pickup(descriptor, result) { }
|
|
72
72
|
}
|
|
73
73
|
NodeInterpreter.register(DirectionalLightInterpreter);
|
|
74
|
-
export { DirectionalLightInterpreter };
|
|
75
74
|
//# sourceMappingURL=DirectionalLightInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DirectionalLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/DirectionalLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DirectionalLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/DirectionalLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,qBAAqB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAgB,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,OAAO,2BAA4B,SAAQ,eAAe;IAC5D,MAAM,CAAC,IAAI,G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AW,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAY,MAAM,CAAC,CAAA;gBAC7D,IAAI,WAAW,YAAY,SAAS,EAAE,CAAC;oBACnC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,CAAA;gBAC5C,CAAC;qBAAM,CAAC;oBACJ,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAA;gBACxC,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAA;YACxC,CAAC;QAEL,CAAC;IAEL,CAAC;IAED,MAAM,CAAC,UAA4B;QAC/B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAmC,UAAU,CAAC,CAAA;QACzE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;QAChC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACrC,CAAC;IAED,IAAI,CAAC,UAA4B;QAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAmC,UAAU,CAAC,CAAA;QACzE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM,CAAC,UAA4B,EAAE,MAAsB,IAAI,CAAC;;AAEpE,eAAe,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { HemisphereLight } from "three";
|
|
1
|
+
import { HemisphereLight as ThreeHemisphereLight } from "three";
|
|
2
2
|
import { PickupObject } from "@vyr/engine";
|
|
3
3
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
4
|
-
import {
|
|
4
|
+
import { HemisphereLight } from "../../descriptor";
|
|
5
5
|
import { NodeActor } from "../../actor";
|
|
6
|
-
declare class HemisphereLightInterpreter extends NodeInterpreter {
|
|
6
|
+
export declare class HemisphereLightInterpreter extends NodeInterpreter {
|
|
7
7
|
static type: string;
|
|
8
|
-
protected createActor(descriptor:
|
|
9
|
-
setLight(actor: NodeActor<
|
|
10
|
-
update(descriptor:
|
|
11
|
-
pickup(descriptor:
|
|
8
|
+
protected createActor(descriptor: HemisphereLight): NodeActor<ThreeHemisphereLight>;
|
|
9
|
+
setLight(actor: NodeActor<ThreeHemisphereLight>, descriptor: HemisphereLight): void;
|
|
10
|
+
update(descriptor: HemisphereLight): void;
|
|
11
|
+
pickup(descriptor: HemisphereLight, result: PickupObject[]): void;
|
|
12
12
|
}
|
|
13
|
-
export { HemisphereLightInterpreter };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { HemisphereLight } from "three";
|
|
1
|
+
import { HemisphereLight as ThreeHemisphereLight } from "three";
|
|
2
2
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
3
|
-
import {
|
|
3
|
+
import { HemisphereLight } from "../../descriptor";
|
|
4
4
|
import { NodeActor } from "../../actor";
|
|
5
|
-
class HemisphereLightInterpreter extends NodeInterpreter {
|
|
6
|
-
static type =
|
|
5
|
+
export class HemisphereLightInterpreter extends NodeInterpreter {
|
|
6
|
+
static type = HemisphereLight.type;
|
|
7
7
|
createActor(descriptor) {
|
|
8
|
-
const actor = new NodeActor(new
|
|
8
|
+
const actor = new NodeActor(new ThreeHemisphereLight());
|
|
9
9
|
return actor;
|
|
10
10
|
}
|
|
11
11
|
setLight(actor, descriptor) {
|
|
12
|
-
actor.object.color.
|
|
12
|
+
actor.object.color.setStyle(descriptor.color);
|
|
13
13
|
actor.object.intensity = descriptor.intensity;
|
|
14
|
-
actor.object.groundColor.
|
|
14
|
+
actor.object.groundColor.setStyle(descriptor.groundColor);
|
|
15
15
|
}
|
|
16
16
|
update(descriptor) {
|
|
17
17
|
super.update(descriptor);
|
|
@@ -21,5 +21,4 @@ class HemisphereLightInterpreter extends NodeInterpreter {
|
|
|
21
21
|
pickup(descriptor, result) { }
|
|
22
22
|
}
|
|
23
23
|
NodeInterpreter.register(HemisphereLightInterpreter);
|
|
24
|
-
export { HemisphereLightInterpreter };
|
|
25
24
|
//# sourceMappingURL=HemisphereLightInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HemisphereLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/HemisphereLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HemisphereLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/HemisphereLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,OAAO,0BAA2B,SAAQ,eAAe;IAC3D,MAAM,CAAC,IAAI,GAAG,eAAe,CAAC,IAAI,CAAA;IAExB,WAAW,CAAC,UAA2B;QAC7C,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,oBAAoB,EAAE,CAAC,CAAA;QACvD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,QAAQ,CAAC,KAAsC,EAAE,UAA2B;QACxE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAC7C,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QAC7C,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAA;IAC7D,CAAC;IAED,MAAM,CAAC,UAA2B;QAC9B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAkC,UAAU,CAAC,CAAA;QACxE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,UAA2B,EAAE,MAAsB,IAAI,CAAC;;AAEnE,eAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAA"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { PointLight } from "three";
|
|
1
|
+
import { PointLight as ThreePointLight } from "three";
|
|
2
2
|
import { PickupObject } from "@vyr/engine";
|
|
3
3
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
4
|
-
import {
|
|
4
|
+
import { PointLight } from "../../descriptor";
|
|
5
5
|
import { NodeActor } from "../../actor";
|
|
6
|
-
declare class PointLightInterpreter extends NodeInterpreter {
|
|
6
|
+
export declare class PointLightInterpreter extends NodeInterpreter {
|
|
7
7
|
static type: string;
|
|
8
|
-
protected createActor(descriptor:
|
|
9
|
-
setLight(actor: NodeActor<
|
|
10
|
-
update(descriptor:
|
|
11
|
-
free(descriptor:
|
|
12
|
-
pickup(descriptor:
|
|
8
|
+
protected createActor(descriptor: PointLight): NodeActor<ThreePointLight>;
|
|
9
|
+
setLight(actor: NodeActor<ThreePointLight>, descriptor: PointLight): void;
|
|
10
|
+
update(descriptor: PointLight): void;
|
|
11
|
+
free(descriptor: PointLight): void;
|
|
12
|
+
pickup(descriptor: PointLight, result: PickupObject[]): void;
|
|
13
13
|
}
|
|
14
|
-
export { PointLightInterpreter };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PointLight } from "three";
|
|
1
|
+
import { PointLight as ThreePointLight } from "three";
|
|
2
2
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
3
|
-
import {
|
|
3
|
+
import { PointLight } from "../../descriptor";
|
|
4
4
|
import { NodeActor } from "../../actor";
|
|
5
|
-
class PointLightInterpreter extends NodeInterpreter {
|
|
6
|
-
static type =
|
|
5
|
+
export class PointLightInterpreter extends NodeInterpreter {
|
|
6
|
+
static type = PointLight.type;
|
|
7
7
|
createActor(descriptor) {
|
|
8
|
-
const actor = new NodeActor(new
|
|
8
|
+
const actor = new NodeActor(new ThreePointLight());
|
|
9
9
|
return actor;
|
|
10
10
|
}
|
|
11
11
|
setLight(actor, descriptor) {
|
|
@@ -33,5 +33,4 @@ class PointLightInterpreter extends NodeInterpreter {
|
|
|
33
33
|
pickup(descriptor, result) { }
|
|
34
34
|
}
|
|
35
35
|
NodeInterpreter.register(PointLightInterpreter);
|
|
36
|
-
export { PointLightInterpreter };
|
|
37
36
|
//# sourceMappingURL=PointLightInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PointLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/PointLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PointLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/PointLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,OAAO,qBAAsB,SAAQ,eAAe;IACtD,MAAM,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAA;IAEnB,WAAW,CAAC,UAAsB;QACxC,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,eAAe,EAAE,CAAC,CAAA;QAClD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,QAAQ,CAAC,KAAiC,EAAE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AI,CAAC;;AAE9D,eAAe,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { RectAreaLight } from "three";
|
|
1
|
+
import { RectAreaLight as ThreeRectAreaLight } from "three";
|
|
2
2
|
import { PickupObject } from "@vyr/engine";
|
|
3
3
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
4
|
-
import {
|
|
4
|
+
import { RectAreaLight } from "../../descriptor";
|
|
5
5
|
import { NodeActor } from "../../actor";
|
|
6
|
-
declare class RectAreaLightInterpreter extends NodeInterpreter {
|
|
6
|
+
export declare class RectAreaLightInterpreter extends NodeInterpreter {
|
|
7
7
|
static type: string;
|
|
8
|
-
protected createActor(descriptor:
|
|
9
|
-
setLight(actor: NodeActor<
|
|
10
|
-
update(descriptor:
|
|
11
|
-
pickup(descriptor:
|
|
8
|
+
protected createActor(descriptor: RectAreaLight): NodeActor<ThreeRectAreaLight>;
|
|
9
|
+
setLight(actor: NodeActor<ThreeRectAreaLight>, descriptor: RectAreaLight): void;
|
|
10
|
+
update(descriptor: RectAreaLight): void;
|
|
11
|
+
pickup(descriptor: RectAreaLight, result: PickupObject[]): void;
|
|
12
12
|
}
|
|
13
|
-
export { RectAreaLightInterpreter };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { RectAreaLight } from "three";
|
|
1
|
+
import { RectAreaLight as ThreeRectAreaLight } from "three";
|
|
2
2
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
3
|
-
import {
|
|
3
|
+
import { RectAreaLight } from "../../descriptor";
|
|
4
4
|
import { NodeActor } from "../../actor";
|
|
5
|
-
class RectAreaLightInterpreter extends NodeInterpreter {
|
|
6
|
-
static type =
|
|
5
|
+
export class RectAreaLightInterpreter extends NodeInterpreter {
|
|
6
|
+
static type = RectAreaLight.type;
|
|
7
7
|
createActor(descriptor) {
|
|
8
|
-
const actor = new NodeActor(new
|
|
8
|
+
const actor = new NodeActor(new ThreeRectAreaLight());
|
|
9
9
|
return actor;
|
|
10
10
|
}
|
|
11
11
|
setLight(actor, descriptor) {
|
|
@@ -23,5 +23,4 @@ class RectAreaLightInterpreter extends NodeInterpreter {
|
|
|
23
23
|
pickup(descriptor, result) { }
|
|
24
24
|
}
|
|
25
25
|
NodeInterpreter.register(RectAreaLightInterpreter);
|
|
26
|
-
export { RectAreaLightInterpreter };
|
|
27
26
|
//# sourceMappingURL=RectAreaLightInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RectAreaLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/RectAreaLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RectAreaLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/RectAreaLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IACzD,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA;IAEtB,WAAW,CAAC,UAAyB;QAC3C,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,kBAAkB,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,QAAQ,CAAC,KAAoC,EAAE,UAAyB;QACpE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QACxC,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QAC7C,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAA;QACrC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAA;QACvC,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAA;IACzC,CAAC;IAGD,MAAM,CAAC,UAAyB;QAC5B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,UAAyB,EAAE,MAAsB,IAAI,CAAC;;AAEjE,eAAe,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { SpotLight } from "three";
|
|
1
|
+
import { SpotLight as ThreeSpotLight } from "three";
|
|
2
2
|
import { PickupObject } from "@vyr/engine";
|
|
3
3
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
4
|
-
import {
|
|
4
|
+
import { SpotLight } from "../../descriptor";
|
|
5
5
|
import { NodeActor } from "../../actor";
|
|
6
|
-
declare class SpotLightInterpreter extends NodeInterpreter {
|
|
6
|
+
export declare class SpotLightInterpreter extends NodeInterpreter {
|
|
7
7
|
static type: string;
|
|
8
|
-
protected createActor(descriptor:
|
|
9
|
-
setLight(actor: NodeActor<
|
|
10
|
-
setTarget(actor: NodeActor<
|
|
11
|
-
update(descriptor:
|
|
12
|
-
free(descriptor:
|
|
13
|
-
pickup(descriptor:
|
|
8
|
+
protected createActor(descriptor: SpotLight): NodeActor<ThreeSpotLight>;
|
|
9
|
+
setLight(actor: NodeActor<ThreeSpotLight>, descriptor: SpotLight): void;
|
|
10
|
+
setTarget(actor: NodeActor<ThreeSpotLight>, descriptor: SpotLight): void;
|
|
11
|
+
update(descriptor: SpotLight): void;
|
|
12
|
+
free(descriptor: SpotLight): void;
|
|
13
|
+
pickup(descriptor: SpotLight, result: PickupObject[]): void;
|
|
14
14
|
}
|
|
15
|
-
export { SpotLightInterpreter };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Object3D, SpotLight } from "three";
|
|
1
|
+
import { Object3D, SpotLight as ThreeSpotLight } from "three";
|
|
2
2
|
import { Descriptor } from "@vyr/engine";
|
|
3
3
|
import { NodeInterpreter } from "../NodeInterpreter";
|
|
4
|
-
import {
|
|
4
|
+
import { SpotLight } from "../../descriptor";
|
|
5
5
|
import { NodeActor } from "../../actor";
|
|
6
|
-
class SpotLightInterpreter extends NodeInterpreter {
|
|
7
|
-
static type =
|
|
6
|
+
export class SpotLightInterpreter extends NodeInterpreter {
|
|
7
|
+
static type = SpotLight.type;
|
|
8
8
|
createActor(descriptor) {
|
|
9
|
-
const actor = new NodeActor(new
|
|
9
|
+
const actor = new NodeActor(new ThreeSpotLight());
|
|
10
10
|
return actor;
|
|
11
11
|
}
|
|
12
12
|
setLight(actor, descriptor) {
|
|
@@ -59,5 +59,4 @@ class SpotLightInterpreter extends NodeInterpreter {
|
|
|
59
59
|
pickup(descriptor, result) { }
|
|
60
60
|
}
|
|
61
61
|
NodeInterpreter.register(SpotLightInterpreter);
|
|
62
|
-
export { SpotLightInterpreter };
|
|
63
62
|
//# sourceMappingURL=SpotLightInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/SpotLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SpotLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/SpotLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,U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,UAAU,CAAC,CAAA;IACrC,CAAC;IAED,IAAI,CAAC,UAAqB;QACtB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA4B,UAAU,CAAC,CAAA;QAClE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM,CAAC,UAAqB,EAAE,MAAsB,IAAI,CAAC;;AAE7D,eAAe,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { Material } from "three";
|
|
1
|
+
import { Material as ThreeMaterial } from "three";
|
|
2
2
|
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import {
|
|
4
|
-
declare class MaterialInterpreter extends Interpreter {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
free(descriptor: MaterialDescriptor): void;
|
|
3
|
+
import { Material } from "../../descriptor";
|
|
4
|
+
export declare abstract class MaterialInterpreter extends Interpreter {
|
|
5
|
+
setProperty(material: ThreeMaterial, descriptor: Material): void;
|
|
6
|
+
free(descriptor: Material): void;
|
|
8
7
|
}
|
|
9
|
-
export { MaterialInterpreter };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { Interpreter } from "@vyr/engine";
|
|
2
|
-
|
|
3
|
-
class MaterialInterpreter extends Interpreter {
|
|
4
|
-
static type = MaterialDescriptor.type;
|
|
2
|
+
export class MaterialInterpreter extends Interpreter {
|
|
5
3
|
setProperty(material, descriptor) {
|
|
6
4
|
material.alphaTest = descriptor.alphaTest;
|
|
7
5
|
material.transparent = descriptor.transparent;
|
|
8
6
|
material.colorWrite = descriptor.colorWrite;
|
|
9
7
|
material.depthTest = descriptor.depthTest;
|
|
10
|
-
material.depthWrite = descriptor.
|
|
8
|
+
material.depthWrite = descriptor.depthWrite;
|
|
11
9
|
//@ts-ignore
|
|
12
10
|
material.side = descriptor.side;
|
|
13
11
|
//@ts-ignore
|
|
@@ -23,6 +21,4 @@ class MaterialInterpreter extends Interpreter {
|
|
|
23
21
|
super.free(descriptor);
|
|
24
22
|
}
|
|
25
23
|
}
|
|
26
|
-
Interpreter.register(MaterialInterpreter);
|
|
27
|
-
export { MaterialInterpreter };
|
|
28
24
|
//# sourceMappingURL=MaterialInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MaterialInterpreter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MaterialInterpreter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,MAAM,OAAgB,mBAAoB,SAAQ,WAAW;IAEzD,WAAW,CAAC,QAAuB,EAAE,UAAoB;QACrD,QAAQ,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QACzC,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAA;QAC7C,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAA;QAC3C,QAAQ,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QACzC,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAA;QAC3C,YAAY;QACZ,QAAQ,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAA;QAC/B,YAAY;QACZ,QAAQ,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QACzC,YAAY;QACZ,QAAQ,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAA;QACvC,QAAQ,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAA;QAC/C,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAA;IAC/B,CAAC;IAED,IAAI,CAAC,UAAoB;QACrB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgB,UAAU,CAAC,CAAA;QACtD,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;CACJ"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { MeshBasicMaterial } from "three";
|
|
1
|
+
import { MeshBasicMaterial as ThreeMeshBasicMaterial } from "three";
|
|
2
2
|
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
-
import {
|
|
3
|
+
import { MeshBasicMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
|
-
declare class MeshBasicMaterialInterpreter extends MaterialInterpreter {
|
|
5
|
+
export declare class MeshBasicMaterialInterpreter extends MaterialInterpreter {
|
|
6
6
|
static type: string;
|
|
7
|
-
protected createActor(descriptor:
|
|
8
|
-
setProperty(material:
|
|
9
|
-
update(descriptor:
|
|
7
|
+
protected createActor(descriptor: MeshBasicMaterial): MaterialActor<ThreeMeshBasicMaterial>;
|
|
8
|
+
setProperty(material: ThreeMeshBasicMaterial, descriptor: MeshBasicMaterial): void;
|
|
9
|
+
update(descriptor: MeshBasicMaterial): void;
|
|
10
10
|
}
|
|
11
|
-
export { MeshBasicMaterialInterpreter };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { MeshBasicMaterial } from "three";
|
|
1
|
+
import { MeshBasicMaterial as ThreeMeshBasicMaterial } from "three";
|
|
2
2
|
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
-
import {
|
|
3
|
+
import { MeshBasicMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
5
|
import { texture } from "../../utils";
|
|
6
|
-
class MeshBasicMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
-
static type =
|
|
6
|
+
export class MeshBasicMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
+
static type = MeshBasicMaterial.type;
|
|
8
8
|
createActor(descriptor) {
|
|
9
|
-
const actor = new MaterialActor(new
|
|
9
|
+
const actor = new MaterialActor(new ThreeMeshBasicMaterial());
|
|
10
10
|
return actor;
|
|
11
11
|
}
|
|
12
12
|
setProperty(material, descriptor) {
|
|
13
13
|
super.setProperty(material, descriptor);
|
|
14
|
-
material.color.setStyle(descriptor.color
|
|
15
|
-
material.opacity = descriptor.
|
|
14
|
+
material.color.setStyle(descriptor.color);
|
|
15
|
+
material.opacity = descriptor.opacity;
|
|
16
16
|
material.reflectivity = descriptor.reflectivity;
|
|
17
17
|
material.refractionRatio = descriptor.refractionRatio;
|
|
18
18
|
material.lightMapIntensity = descriptor.lightMapIntensity;
|
|
@@ -33,5 +33,4 @@ class MeshBasicMaterialInterpreter extends MaterialInterpreter {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
MaterialInterpreter.register(MeshBasicMaterialInterpreter);
|
|
36
|
-
export { MeshBasicMaterialInterpreter };
|
|
37
36
|
//# sourceMappingURL=MeshBasicMaterialInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeshBasicMaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MeshBasicMaterialInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MeshBasicMaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MeshBasicMaterialInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,sBAAsB,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,C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AAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACnE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACjE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACnE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC1E,CAAC;;AAEL,mBAAmB,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { MeshPhongMaterial } from "three";
|
|
2
|
-
import { MaterialInterpreter } from
|
|
3
|
-
import {
|
|
1
|
+
import { MeshPhongMaterial as ThreeMeshPhongMaterial } from "three";
|
|
2
|
+
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
+
import { MeshPhongMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
|
-
declare class MeshPhongMaterialInterpreter extends MaterialInterpreter {
|
|
5
|
+
export declare class MeshPhongMaterialInterpreter extends MaterialInterpreter {
|
|
6
6
|
static type: string;
|
|
7
|
-
protected createActor(descriptor:
|
|
8
|
-
setProperty(material:
|
|
9
|
-
update(descriptor:
|
|
7
|
+
protected createActor(descriptor: MeshPhongMaterial): MaterialActor<ThreeMeshPhongMaterial>;
|
|
8
|
+
setProperty(material: ThreeMeshPhongMaterial, descriptor: MeshPhongMaterial): void;
|
|
9
|
+
update(descriptor: MeshPhongMaterial): void;
|
|
10
10
|
}
|
|
11
|
-
export { MeshPhongMaterialInterpreter };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { MeshPhongMaterial } from "three";
|
|
2
|
-
import { MaterialInterpreter } from
|
|
3
|
-
import {
|
|
1
|
+
import { MeshPhongMaterial as ThreeMeshPhongMaterial } from "three";
|
|
2
|
+
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
+
import { MeshPhongMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
5
|
import { texture } from "../../utils";
|
|
6
|
-
class MeshPhongMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
-
static type =
|
|
6
|
+
export class MeshPhongMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
+
static type = MeshPhongMaterial.type;
|
|
8
8
|
createActor(descriptor) {
|
|
9
|
-
const actor = new MaterialActor(new
|
|
9
|
+
const actor = new MaterialActor(new ThreeMeshPhongMaterial());
|
|
10
10
|
return actor;
|
|
11
11
|
}
|
|
12
12
|
setProperty(material, descriptor) {
|
|
13
13
|
super.setProperty(material, descriptor);
|
|
14
|
-
material.color.setStyle(descriptor.color
|
|
15
|
-
material.opacity = descriptor.
|
|
14
|
+
material.color.setStyle(descriptor.color);
|
|
15
|
+
material.opacity = descriptor.opacity;
|
|
16
16
|
material.emissive.setStyle(descriptor.emissive);
|
|
17
17
|
material.specular.setStyle(descriptor.specular);
|
|
18
18
|
material.reflectivity = descriptor.reflectivity;
|
|
@@ -52,5 +52,4 @@ class MeshPhongMaterialInterpreter extends MaterialInterpreter {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
MaterialInterpreter.register(MeshPhongMaterialInterpreter);
|
|
55
|
-
export { MeshPhongMaterialInterpreter };
|
|
56
55
|
//# sourceMappingURL=MeshPhongMaterialInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeshPhongMaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MeshPhongMaterialInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MeshPhongMaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/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AC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACnE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACjE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACnE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACtE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QAChE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QAClE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;QACtE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IACxE,CAAC;;AAEL,mBAAmB,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { MeshStandardMaterial } from "three";
|
|
2
|
-
import { MaterialInterpreter } from
|
|
3
|
-
import {
|
|
1
|
+
import { MeshStandardMaterial as ThreeMeshStandardMaterial } from "three";
|
|
2
|
+
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
+
import { MeshStandardMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
|
-
declare class MeshStandardMaterialInterpreter extends MaterialInterpreter {
|
|
5
|
+
export declare class MeshStandardMaterialInterpreter extends MaterialInterpreter {
|
|
6
6
|
static type: string;
|
|
7
|
-
protected createActor(descriptor:
|
|
8
|
-
setProperty(material:
|
|
9
|
-
update(descriptor:
|
|
7
|
+
protected createActor(descriptor: MeshStandardMaterial): MaterialActor<ThreeMeshStandardMaterial>;
|
|
8
|
+
setProperty(material: ThreeMeshStandardMaterial, descriptor: MeshStandardMaterial): void;
|
|
9
|
+
update(descriptor: MeshStandardMaterial): void;
|
|
10
10
|
}
|
|
11
|
-
export { MeshStandardMaterialInterpreter };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { MeshStandardMaterial } from "three";
|
|
2
|
-
import { MaterialInterpreter } from
|
|
3
|
-
import {
|
|
1
|
+
import { MeshStandardMaterial as ThreeMeshStandardMaterial } from "three";
|
|
2
|
+
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
+
import { MeshStandardMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
5
|
import { texture } from "../../utils";
|
|
6
|
-
class MeshStandardMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
-
static type =
|
|
6
|
+
export class MeshStandardMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
+
static type = MeshStandardMaterial.type;
|
|
8
8
|
createActor(descriptor) {
|
|
9
|
-
const actor = new MaterialActor(new
|
|
9
|
+
const actor = new MaterialActor(new ThreeMeshStandardMaterial());
|
|
10
10
|
return actor;
|
|
11
11
|
}
|
|
12
12
|
setProperty(material, descriptor) {
|
|
13
13
|
super.setProperty(material, descriptor);
|
|
14
|
-
material.color.setStyle(descriptor.color
|
|
15
|
-
material.opacity = descriptor.
|
|
14
|
+
material.color.setStyle(descriptor.color);
|
|
15
|
+
material.opacity = descriptor.opacity;
|
|
16
16
|
material.lightMapIntensity = descriptor.lightMapIntensity;
|
|
17
17
|
material.envMapIntensity = descriptor.envMapIntensity;
|
|
18
18
|
material.envMapRotation.set(descriptor.envMapRotation.x, descriptor.envMapRotation.y, descriptor.envMapRotation.z);
|
|
@@ -48,5 +48,4 @@ class MeshStandardMaterialInterpreter extends MaterialInterpreter {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
MaterialInterpreter.register(MeshStandardMaterialInterpreter);
|
|
51
|
-
export { MeshStandardMaterialInterpreter };
|
|
52
51
|
//# sourceMappingURL=MeshStandardMaterialInterpreter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeshStandardMaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MeshStandardMaterialInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MeshStandardMaterialInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/material/MeshStandardMaterialInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,OAAO,+BAAgC,SAAQ,mBAAmB;IACpE,MAAM,CAAC,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAA;IAE7B,WAAW,CAAC,UAAgC;QAClD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,yBAAyB,EAAE,CAAC,CAAA;QAChE,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,WAAW,CAAC,QAAmC,EAAE,UAAgC;QAC7E,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAA;QAEvC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CA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U,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC3E,CAAC;;AAEL,mBAAmB,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { PointsMaterial } from "three";
|
|
1
|
+
import { PointsMaterial as ThreePointsMaterial } from "three";
|
|
2
2
|
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
-
import {
|
|
3
|
+
import { PointsMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
|
-
declare class PointsMaterialInterpreter extends MaterialInterpreter {
|
|
5
|
+
export declare class PointsMaterialInterpreter extends MaterialInterpreter {
|
|
6
6
|
static type: string;
|
|
7
|
-
protected createActor(descriptor:
|
|
8
|
-
setProperty(material:
|
|
9
|
-
update(descriptor:
|
|
7
|
+
protected createActor(descriptor: PointsMaterial): MaterialActor<ThreePointsMaterial>;
|
|
8
|
+
setProperty(material: ThreePointsMaterial, descriptor: PointsMaterial): void;
|
|
9
|
+
update(descriptor: PointsMaterial): void;
|
|
10
10
|
}
|
|
11
|
-
export { PointsMaterialInterpreter };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { PointsMaterial } from "three";
|
|
1
|
+
import { PointsMaterial as ThreePointsMaterial } from "three";
|
|
2
2
|
import { MaterialInterpreter } from './MaterialInterpreter';
|
|
3
|
-
import {
|
|
3
|
+
import { PointsMaterial } from "../../descriptor";
|
|
4
4
|
import { MaterialActor } from "../../actor";
|
|
5
5
|
import { texture } from "../../utils";
|
|
6
|
-
class PointsMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
-
static type =
|
|
6
|
+
export class PointsMaterialInterpreter extends MaterialInterpreter {
|
|
7
|
+
static type = PointsMaterial.type;
|
|
8
8
|
createActor(descriptor) {
|
|
9
|
-
const actor = new MaterialActor(new
|
|
9
|
+
const actor = new MaterialActor(new ThreePointsMaterial());
|
|
10
10
|
return actor;
|
|
11
11
|
}
|
|
12
12
|
setProperty(material, descriptor) {
|
|
13
13
|
super.setProperty(material, descriptor);
|
|
14
|
-
material.color.setStyle(descriptor.color
|
|
15
|
-
material.opacity = descriptor.
|
|
14
|
+
material.color.setStyle(descriptor.color);
|
|
15
|
+
material.opacity = descriptor.opacity;
|
|
16
16
|
material.size = descriptor.size;
|
|
17
17
|
material.sizeAttenuation = descriptor.sizeAttenuation;
|
|
18
18
|
material.fog = descriptor.fog;
|
|
@@ -26,5 +26,4 @@ class PointsMaterialInterpreter extends MaterialInterpreter {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
MaterialInterpreter.register(PointsMaterialInterpreter);
|
|
29
|
-
export { PointsMaterialInterpreter };
|
|
30
29
|
//# sourceMappingURL=PointsMaterialInterpreter.js.map
|