# API Reference

A detailed reference of available methods is provided in this section. The API is continuously evolving -new methods and features will be added over time. For specific use cases or requests, contact a Vectary customer success manager.

<table><thead><tr><th width="48.4375" data-type="number">#</th><th width="233.76953125">Name</th><th width="261.01171875">Documented in</th><th>Snippet / Sandbox</th></tr></thead><tbody><tr><td>1</td><td><a data-mention href="api-reference/init">init</a></td><td><a data-mention href="quick-start">quick-start</a></td><td><a href="https://codesandbox.io/s/init-00jr7l">Init</a></td></tr><tr><td>2</td><td><a data-mention href="api-reference/isready">isready</a></td><td><a data-mention href="quick-start">quick-start</a></td><td><a href="https://codesandbox.io/s/init-00jr7l">Init</a></td></tr><tr><td>3</td><td><a data-mention href="api-reference/projectinfo">projectinfo</a></td><td><a data-mention href="quick-start">quick-start</a></td><td><a href="https://codesandbox.io/s/init-00jr7l">Init</a></td></tr><tr><td>4</td><td><a data-mention href="api-reference/dispatchevent">dispatchevent</a></td><td><a data-mention href="events-and-listeners">events-and-listeners</a></td><td><a href="https://codesandbox.io/p/sandbox/dispatchevent-f323xt">dispatchEvent</a><br><a href="https://codesandbox.io/p/sandbox/youthful-shadow-xgk5gd">dispatchEvent</a></td></tr><tr><td>5</td><td><a data-mention href="api-reference/addeventlistener">addeventlistener</a></td><td><a data-mention href="events-and-listeners">events-and-listeners</a></td><td><a href="https://codesandbox.io/s/add-removeeventlistener-ebeq4d">add-removeEventListener</a></td></tr><tr><td>6</td><td><a data-mention href="api-reference/removeeventlistener">removeeventlistener</a></td><td><a data-mention href="events-and-listeners">events-and-listeners</a></td><td><a href="https://codesandbox.io/s/add-removeeventlistener-ebeq4d">add-removeEventListener</a></td></tr><tr><td>7</td><td><a data-mention href="api-reference/setconfigurationstate">setconfigurationstate</a></td><td><a data-mention href="floating-ui">floating-ui</a></td><td><a href="https://codesandbox.io/s/get-setconfigurationstate-kl0psw">get-setConfigurationState</a></td></tr><tr><td>8</td><td><a data-mention href="api-reference/getconfigurationstate">getconfigurationstate</a></td><td><a data-mention href="floating-ui">floating-ui</a></td><td><a href="https://codesandbox.io/s/get-setconfigurationstate-kl0psw">get-setConfigurationState</a></td></tr><tr><td>9</td><td><a data-mention href="api-reference/getobjects">getobjects</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/getobjects-thf9hc">getObjects</a></td></tr><tr><td>10</td><td><a data-mention href="api-reference/gethoveredobjects">gethoveredobjects</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>11</td><td><a data-mention href="api-reference/duplicateobjects">duplicateobjects</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/duplicateobjects-rh2fh9">duplicateObjects</a></td></tr><tr><td>12</td><td><a data-mention href="api-reference/moveobjects">moveobjects</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/moveobjects-7ynjmq">moveObjects</a></td></tr><tr><td>13</td><td><a data-mention href="api-reference/getposition">getposition</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>14</td><td><a data-mention href="api-reference/setposition">setposition</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>15</td><td><a data-mention href="api-reference/getrotation">getrotation</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>16</td><td><a data-mention href="api-reference/setrotation">setrotation</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>17</td><td><a data-mention href="api-reference/getscale">getscale</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>18</td><td><a data-mention href="api-reference/setscale">setscale</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/transformations-frrd3q">Transformations</a></td></tr><tr><td>19</td><td><a data-mention href="api-reference/getprimitives">getprimitives</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-setprimitives-g9smpy">get-setPrimitives</a></td></tr><tr><td>20</td><td><a data-mention href="api-reference/setprimitives">setprimitives</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-setprimitives-g9smpy">get-setPrimitives</a></td></tr><tr><td>21</td><td><a data-mention href="api-reference/gettext3d">gettext3d</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-settext3d-yhvdmr">get-setText3d</a></td></tr><tr><td>22</td><td><a data-mention href="api-reference/settext3d">settext3d</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-settext3d-yhvdmr">get-setText3d</a></td></tr><tr><td>23</td><td><a data-mention href="api-reference/getallmaterials">getallmaterials</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/getallmaterials-6vd7vc">getAllMaterials</a></td></tr><tr><td>24</td><td><a data-mention href="api-reference/getmaterials">getmaterials</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/getmaterials-dfcp8h">getMaterials</a></td></tr><tr><td>25</td><td><a data-mention href="api-reference/getactivematerial">getactivematerial</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-setactivematerial-49cxf4">get-setActiveMaterial</a></td></tr><tr><td>26</td><td><a data-mention href="api-reference/setactivematerial">setactivematerial</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-setactivematerial-49cxf4">get-setActiveMaterial</a></td></tr><tr><td>27</td><td><a data-mention href="api-reference/addoreditmaterial">addoreditmaterial</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/addoreditmaterial-49cxf4">addOrEditMaterial</a></td></tr><tr><td>28</td><td><a data-mention href="api-reference/removematerial">removematerial</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/removematerial-7w66wz">removeMaterial</a></td></tr><tr><td>29</td><td><a data-mention href="api-reference/gettexturedata">gettexturedata</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-settexturedata-s25wct">get-setTextureData</a></td></tr><tr><td>30</td><td><a data-mention href="api-reference/settexturedata">settexturedata</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-settexturedata-s25wct">get-setTextureData</a></td></tr><tr><td>31</td><td><a data-mention href="api-reference/addtexture">addtexture</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/add-maptextures-8d2mkn">add-mapTextures</a></td></tr><tr><td>32</td><td><a data-mention href="api-reference/maptextures">maptextures</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/add-maptextures-8d2mkn">add-mapTextures</a></td></tr><tr><td>33</td><td><a data-mention href="api-reference/raycastall">raycastall</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-settexturedata-s25wct">get-setTextureData</a></td></tr><tr><td>34</td><td><a data-mention href="api-reference/raycastobject">raycastobject</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/getrayfromcoordinate-j85dp8">getRayFromCoordinate</a></td></tr><tr><td>35</td><td><a data-mention href="api-reference/getrayfromcoordinate">getrayfromcoordinate</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/getrayfromcoordinate-j85dp8">getRayFromCoordinate</a></td></tr><tr><td>36</td><td><a data-mention href="api-reference/getanimations">getanimations</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/animations-player-qx28q2">Animation Player</a></td></tr><tr><td>37</td><td><a data-mention href="api-reference/playanimation">playanimation</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/animations-player-qx28q2">Animation Player</a></td></tr><tr><td>38</td><td><a data-mention href="api-reference/stopanimation">stopanimation</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/animations-player-qx28q2">Animation Player</a></td></tr><tr><td>39</td><td><a data-mention href="api-reference/setanimationplayhead">setanimationplayhead</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/animations-player-qx28q2">Animation Player</a></td></tr><tr><td>40</td><td><a data-mention href="api-reference/rotateenvironmentmap">rotateenvironmentmap</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/rotateenvironmentmap-kz3s95">rotateEnvironmentMap</a></td></tr><tr><td>41</td><td><a data-mention href="api-reference/getviewstate">getviewstate</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-setviewstate-tkxns3">get-setViewState</a></td></tr><tr><td>42</td><td><a data-mention href="api-reference/setviewstate">setviewstate</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/get-setviewstate-tkxns3">get-setViewState</a></td></tr><tr><td>43</td><td><a data-mention href="api-reference/fittoview">fittoview</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/fittoview-yzjv4f">fitToView</a></td></tr><tr><td>44</td><td><a data-mention href="api-reference/takescreenshot">takescreenshot</a></td><td></td><td><a href="https://codesandbox.io/s/takescreenshot-pgy6gf">takeScreenshot</a></td></tr><tr><td>45</td><td><a data-mention href="api-reference/importfiles">importfiles</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/importfiles-83tnhj">importFiles</a></td></tr><tr><td>46</td><td><a data-mention href="api-reference/importproject">importproject</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/importproject-4nldyf">importProject</a></td></tr><tr><td>47</td><td><a data-mention href="api-reference/exportfile">exportfile</a></td><td></td><td><a href="https://codesandbox.io/p/sandbox/exportfile-wdsn8r">exportFile</a></td></tr></tbody></table>



