Package org.robovm.apple.scenekit
Class SCNConstraint
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.scenekit.SCNConstraint
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,SCNAnimatable
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
SCNAccelerationConstraint
,SCNAvoidOccluderConstraint
,SCNBillboardConstraint
,SCNDistanceConstraint
,SCNIKConstraint
,SCNLookAtConstraint
,SCNReplicatorConstraint
,SCNSliderConstraint
,SCNTransformConstraint
public class SCNConstraint extends NSObject implements NSSecureCoding, SCNAnimatable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCNConstraint.SCNConstraintPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SCNConstraint()
SCNConstraint(NSCoder decoder)
protected
SCNConstraint(NSObject.Handle h, long handle)
protected
SCNConstraint(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addAnimation(SCNAnimation animation, java.lang.String key)
void
addAnimationPlayer(SCNAnimationPlayer player, java.lang.String key)
SCNAnimationPlayer
animationPlayerForKey(java.lang.String key)
void
encode(NSCoder coder)
CAAnimation
getAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.NSArray<NSString>
getAnimationKeys()
double
getInfluenceFactor()
protected long
init(NSCoder decoder)
boolean
isAnimationPaused(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.boolean
isEnabled()
boolean
isIncremental()
void
pauseAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
removeAllAnimations()
void
removeAnimation(java.lang.String key)
void
removeAnimation(java.lang.String key, double duration)
Deprecated.Deprecated in iOS 11.0.void
removeAnimationForKey(java.lang.String key, double duration)
void
resumeAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
setEnabled(boolean v)
void
setIncremental(boolean v)
void
setInfluenceFactor(double v)
void
setSpeed(double speed, java.lang.String key)
Deprecated.Deprecated in iOS 11.0.static boolean
supportsSecureCoding()
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
SCNConstraint
public SCNConstraint()
-
SCNConstraint
protected SCNConstraint(NSObject.Handle h, long handle)
-
SCNConstraint
protected SCNConstraint(NSObject.SkipInit skipInit)
-
SCNConstraint
public SCNConstraint(NSCoder decoder)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean v)
-
getInfluenceFactor
public double getInfluenceFactor()
-
setInfluenceFactor
public void setInfluenceFactor(double v)
-
isIncremental
public boolean isIncremental()
- Since:
- Available in iOS 11.0 and later.
-
setIncremental
public void setIncremental(boolean v)
- Since:
- Available in iOS 11.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getAnimationKeys
public NSArray<NSString> getAnimationKeys()
- Specified by:
getAnimationKeys
in interfaceSCNAnimatable
-
init
protected long init(NSCoder decoder)
-
addAnimation
public void addAnimation(SCNAnimation animation, java.lang.String key)
- Specified by:
addAnimation
in interfaceSCNAnimatable
-
addAnimationPlayer
public void addAnimationPlayer(SCNAnimationPlayer player, java.lang.String key)
- Specified by:
addAnimationPlayer
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAllAnimations
public void removeAllAnimations()
- Specified by:
removeAllAnimations
in interfaceSCNAnimatable
-
removeAnimation
public void removeAnimation(java.lang.String key)
- Specified by:
removeAnimation
in interfaceSCNAnimatable
-
animationPlayerForKey
public SCNAnimationPlayer animationPlayerForKey(java.lang.String key)
- Specified by:
animationPlayerForKey
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAnimationForKey
public void removeAnimationForKey(java.lang.String key, double duration)
- Specified by:
removeAnimationForKey
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAnimation
@Deprecated public void removeAnimation(java.lang.String key, double duration)
Deprecated.Deprecated in iOS 11.0.- Specified by:
removeAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
getAnimation
@Deprecated public CAAnimation getAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.- Specified by:
getAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
pauseAnimation
@Deprecated public void pauseAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
pauseAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
resumeAnimation
@Deprecated public void resumeAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
resumeAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
setSpeed
@Deprecated public void setSpeed(double speed, java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead- Specified by:
setSpeed
in interfaceSCNAnimatable
- Since:
- Available in iOS 10.0 and later.
-
isAnimationPaused
@Deprecated public boolean isAnimationPaused(java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead- Specified by:
isAnimationPaused
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
-