Interface SCNAnimatable

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Implementing Classes:
ARSCNFaceGeometry, ARSCNPlaneGeometry, SCNAccelerationConstraint, SCNAnimatableAdapter, SCNAnimationPlayer, SCNAvoidOccluderConstraint, SCNBillboardConstraint, SCNBox, SCNCamera, SCNCapsule, SCNCone, SCNConstraint, SCNCylinder, SCNDistanceConstraint, SCNFloor, SCNGeometry, SCNIKConstraint, SCNLight, SCNLookAtConstraint, SCNMaterial, SCNMaterialProperty, SCNMorpher, SCNNode, SCNParticleSystem, SCNPlane, SCNPyramid, SCNReferenceNode, SCNReplicatorConstraint, SCNShape, SCNSliderConstraint, SCNSphere, SCNTechnique, SCNText, SCNTorus, SCNTransformConstraint, SCNTube

public interface SCNAnimatable
extends NSObjectProtocol
  • Method Details

    • getAnimationKeys

      NSArray<NSString> getAnimationKeys()
    • addAnimation

      void addAnimation​(SCNAnimationProtocol animation, String key)
    • addAnimationPlayer

      void addAnimationPlayer​(SCNAnimationPlayer player, String key)
      Since:
      Available in iOS 11.0 and later.
    • removeAllAnimations

      void removeAllAnimations()
    • removeAllAnimations

      void removeAllAnimations​(double duration)
      Since:
      Available in iOS 15.0 and later.
    • removeAnimation

      void removeAnimation​(String key)
    • removeAnimationForKey

      void removeAnimationForKey​(String key, double duration)
      Since:
      Available in iOS 11.0 and later.
    • animationPlayerForKey

      SCNAnimationPlayer animationPlayerForKey​(String key)
      Since:
      Available in iOS 11.0 and later.
    • removeAnimation

      @Deprecated void removeAnimation​(String key, double duration)
      Deprecated.
      Deprecated in iOS 11.0. Use -removeAnimationForKey:blendOutDuration:
    • getAnimation

      @Deprecated CAAnimation getAnimation​(String key)
      Deprecated.
      Deprecated in iOS 11.0. Use -animationPlayerForKey:
    • pauseAnimation

      @Deprecated void pauseAnimation​(String key)
      Deprecated.
      Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead
    • resumeAnimation

      @Deprecated void resumeAnimation​(String key)
      Deprecated.
      Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead
    • setSpeed

      @Deprecated void setSpeed​(double speed, String key)
      Deprecated.
      Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead
      Since:
      Available in iOS 10.0 and later.
    • isAnimationPaused

      @Deprecated boolean isAnimationPaused​(String key)
      Deprecated.
      Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead