Package org.robovm.apple.scenekit
Class SCNAnimationPlayer
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.scenekit.SCNAnimationPlayer
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,SCNAnimatable,ObjCProtocol
public class SCNAnimationPlayer extends NSObject implements SCNAnimatable, NSSecureCoding
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSCNAnimationPlayer.SCNAnimationPlayerPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description SCNAnimationPlayer()SCNAnimationPlayer(NSCoder coder)protectedSCNAnimationPlayer(NSObject.Handle h, long handle)protectedSCNAnimationPlayer(NSObject.SkipInit skipInit)SCNAnimationPlayer(SCNAnimation animation) -
Method Summary
Modifier and Type Method Description voidaddAnimation(SCNAnimationProtocol animation, String key)voidaddAnimationPlayer(SCNAnimationPlayer player, String key)SCNAnimationPlayeranimationPlayerForKey(String key)protected static longcreate(SCNAnimation animation)voidencode(NSCoder coder)SCNAnimationgetAnimation()CAAnimationgetAnimation(String key)Deprecated.Deprecated in iOS 11.0.NSArray<NSString>getAnimationKeys()doublegetBlendFactor()doublegetSpeed()protected longinit(NSCoder coder)booleanisAnimationPaused(String key)Deprecated.Deprecated in iOS 11.0.booleanisPaused()voidpauseAnimation(String key)Deprecated.Deprecated in iOS 11.0.voidplay()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.voidsetBlendFactor(double v)voidsetPaused(boolean v)voidsetSpeed(double v)voidsetSpeed(double speed, String key)Deprecated.Deprecated in iOS 11.0.voidstop()voidstop(double duration)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
SCNAnimationPlayer
public SCNAnimationPlayer() -
SCNAnimationPlayer
-
SCNAnimationPlayer
-
SCNAnimationPlayer
-
SCNAnimationPlayer
-
-
Method Details
-
getAnimation
-
getSpeed
public double getSpeed() -
setSpeed
public void setSpeed(double v) -
getBlendFactor
public double getBlendFactor() -
setBlendFactor
public void setBlendFactor(double v) -
isPaused
public boolean isPaused() -
setPaused
public void setPaused(boolean v) -
getAnimationKeys
- Specified by:
getAnimationKeysin interfaceSCNAnimatable
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
play
public void play() -
stop
public void stop() -
stop
public void stop(double duration) -
create
-
addAnimation
- Specified by:
addAnimationin interfaceSCNAnimatable
-
addAnimationPlayer
- Specified by:
addAnimationPlayerin interfaceSCNAnimatable- Since:
- Available in iOS 11.0 and later.
-
removeAllAnimations
public void removeAllAnimations()- Specified by:
removeAllAnimationsin interfaceSCNAnimatable
-
removeAllAnimations
public void removeAllAnimations(double duration)- Specified by:
removeAllAnimationsin interfaceSCNAnimatable- Since:
- Available in iOS 15.0 and later.
-
removeAnimation
- Specified by:
removeAnimationin interfaceSCNAnimatable
-
removeAnimationForKey
- Specified by:
removeAnimationForKeyin interfaceSCNAnimatable- Since:
- Available in iOS 11.0 and later.
-
animationPlayerForKey
- Specified by:
animationPlayerForKeyin interfaceSCNAnimatable- Since:
- Available in iOS 11.0 and later.
-
removeAnimation
Deprecated.Deprecated in iOS 11.0. Use -removeAnimationForKey:blendOutDuration:- Specified by:
removeAnimationin interfaceSCNAnimatable
-
getAnimation
Deprecated.Deprecated in iOS 11.0. Use -animationPlayerForKey:- Specified by:
getAnimationin interfaceSCNAnimatable
-
pauseAnimation
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
pauseAnimationin interfaceSCNAnimatable
-
resumeAnimation
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
resumeAnimationin interfaceSCNAnimatable
-
setSpeed
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead- Specified by:
setSpeedin interfaceSCNAnimatable- Since:
- Available in iOS 10.0 and later.
-
isAnimationPaused
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead- Specified by:
isAnimationPausedin interfaceSCNAnimatable
-
encode
-
init
-