Home Reference Source Repository

js/SceneKit/SCNAnimationEventBlock.js

  1. 'use strict'
  2.  
  3. //import CAAnimation from '../QuartzCore/CAAnimation'
  4.  
  5. /**
  6. * Signature for the block called when an animation event triggers.
  7. * @type {function(animation: CAAnimation, animatedObject: Object, playingBackward: boolean): void}
  8. * @param {CAAnimation} animation - The animation triggering the animation event.
  9. * @param {Object} animatedObject - The Scene Kit object affected by the animation.
  10. * @param {boolean} playingBackward - true if the animation is playing in reverse; otherwise, false.
  11. * @returns {void}
  12. * @see https://developer.apple.com/documentation/scenekit/scnanimationeventblock
  13. */
  14. const SCNAnimationEventBlock = (animation, animatedObject, playingBackward) => {}
  15.  
  16. export default SCNAnimationEventBlock