• Plattform
  • Content Creation
  • API
  • Plattform
  • Content Creation
  • API
  • API Documentation
    • Introduction
    • Viewer Parameters
  • Viewer Functions
    • Animations
      • showAnimationTriggers()
      • hideAnimationTriggers()
      • triggerAnimation()
    • Annotations
      • showAnnotationTriggers()
      • hideAnnotationTriggers()
    • Controls
      • startViewer()
      • stopViewer()
    • Camera
      • resetView()
      • moveCamera()

showAnnotationTriggers()

43 views 0

This function shows all annotation triggers.

Parameter

action: “showAnnotationTriggers”

Example

<div class="augmenteers-embed-wrapper">
  <iframe id="augmenteersIframe"
          src="https://viewer.augmenteers.com/embedded-model/b5ee0af5ec2cd3a3d19a373d03b19d0a?autostart=true&controls=false&btn_start=false&viewer_api=true"
          frameborder="0" allow="fullscreen" mozallowfullscreen="true" webkitallowfullscreen="true">
  </iframe>
</div>

<script type="text/javascript">
  const iframe = document.getElementById("augmenteersIframe").contentWindow;

  function showAnnotationTriggers() {
    iframe.postMessage({action: "showAnnotationTriggers"}, "*");
  }
</script>
<button onclick="showAnnotationTriggers()">
  Show Annotations
</button>
Show Annotation Trigger
Related Articles
  • Viewer Parameters
  • moveCamera()
  • resetView()
  • triggerAnimation()
  • hideAnimationTriggers()
  • showAnimationTriggers()