Przejdź do głównej zawartości

See My Model Konfigurator Api

API

<see-my-model-configurator>

SeeMyModel configurator element that shows models from api.seemymodel.com in 3D Viewer in browser and in AR mode.

Attributes

NameDescriptionTypeDefault
model-access-keyID of the arModelstring""
camera-orbitOrbital position of the camera in form: "theta phi radius" - theta - polar angle in radians "rad" or degrees "deg", defaults to 0deg; - phi - azimuthal angle in radians "rad" or degrees "deg", defaults to 75deg; - radius - distance from target in percentages "%" (100% should fit the model inside the viewer) defaults to "100%"string"0deg 75deg 100%"

Properties

NameAttributeDescriptionTypeDefault
modelAccessKeymodel-access-keyID of the arModelstring""
cameraOrbitcamera-orbitOrbital position of the camera in form: "theta phi radius" - theta - polar angle in radians "rad" or degrees "deg", defaults to 0deg; - phi - azimuthal angle in radians "rad" or degrees "deg", defaults to 75deg; - radius - distance from target in percentages "%" (100% should fit the model inside the viewer) defaults to "100%"string"0deg 75deg 100%"

Methods

NameDescription
selectedConfigurationOptionsGet's actual selected configuration in viewer