Package org.robovm.apple.scenekit
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 Summary
Modifier and Type Method Description voidaddAnimation(SCNAnimationProtocol animation, String key)voidaddAnimationPlayer(SCNAnimationPlayer player, String key)SCNAnimationPlayeranimationPlayerForKey(String key)CAAnimationgetAnimation(String key)Deprecated.Deprecated in iOS 11.0.NSArray<NSString>getAnimationKeys()booleanisAnimationPaused(String key)Deprecated.Deprecated in iOS 11.0.voidpauseAnimation(String key)Deprecated.Deprecated in iOS 11.0.voidremoveAllAnimations()voidremoveAllAnimations(double duration)voidremoveAnimation(String key)voidremoveAnimation(String key, double duration)Deprecated.Deprecated in iOS 11.0.voidremoveAnimationForKey(String key, double duration)voidresumeAnimation(String key)Deprecated.Deprecated in iOS 11.0.voidsetSpeed(double speed, String key)Deprecated.Deprecated in iOS 11.0.
-
Method Details
-
getAnimationKeys
-
addAnimation
-
addAnimationPlayer
- 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
-
removeAnimationForKey
- Since:
- Available in iOS 11.0 and later.
-
animationPlayerForKey
- Since:
- Available in iOS 11.0 and later.
-
removeAnimation
Deprecated.Deprecated in iOS 11.0. Use -removeAnimationForKey:blendOutDuration: -
getAnimation
Deprecated.Deprecated in iOS 11.0. Use -animationPlayerForKey: -
pauseAnimation
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead -
resumeAnimation
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead -
setSpeed
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead- Since:
- Available in iOS 10.0 and later.
-
isAnimationPaused
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead
-