• 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()

hideAnimationTriggers()

36 views 0

This function hides all animation triggers.

Parameter

action: “hideAnimationTriggers”

Example

<div class="augmenteers-embed-wrapper">
  <iframe id="augmenteersIframe"
          src="https://viewer.augmenteers.com/embedded-model/b5ee0af5ec2cd3a3d19a373d03b19d0a?autostart=true&animations_visible=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 hideAnimationTriggers() {
    iframe.postMessage({action: "hideAnimationTriggers"}, "*");
  }
</script>

<button onclick="hideAnimationTriggers()">
  Hide Animations
</button>
Hide Animation Trigger
Related Articles
  • Viewer Parameters
  • moveCamera()
  • resetView()
  • triggerAnimation()
  • showAnimationTriggers()
  • hideAnnotationTriggers()