public class SCNAnimation extends NSObject implements SCNAnimation, NSCopying, NSSecureCoding
| Modifier and Type | Class and Description |
|---|---|
static interface |
SCNAnimation.Block_animationDidStart_ret |
static interface |
SCNAnimation.Block_animationDidStop_ret |
static interface |
SCNAnimation.Block_setAnimationDidStart |
static interface |
SCNAnimation.Block_setAnimationDidStop |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
SCNAnimation(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static SCNAnimation |
alloc() |
static SCNAnimation |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
SCNAnimation.Block_animationDidStart_ret |
animationDidStart()
Called when the animation starts.
|
SCNAnimation.Block_animationDidStop_ret |
animationDidStop()
Called when the animation either completes its active duration or
is removed from the object it is attached to (i.e.
|
NSArray<? extends SCNAnimationEvent> |
animationEvents()
Specifies the animation events attached to the receiver.
|
static SCNAnimation |
animationNamed(java.lang.String animationName)
Loads and returns the animation with the specified name in the current application bundle.
|
static SCNAnimation |
animationWithCAAnimation(CAAnimation caAnimation)
bridge with Core Animation
Returns a SCNAnimation initialized from a CAAnimation.
|
static SCNAnimation |
animationWithContentsOfURL(NSURL animationUrl)
Loads and returns an animation loaded from the specified URL.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
boolean |
autoreverses()
When true, the object plays backwards after playing forwards.
|
double |
blendInDuration()
Determines the receiver's blend-in duration.
|
double |
blendOutDuration()
Determines the receiver's blend-out duration.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
double |
duration()
The duration of the animation in seconds.
|
void |
encodeWithCoder(NSCoder coder) |
boolean |
fillsBackward()
When true, the animation is active before its active duration and evaluates to its start value.
|
boolean |
fillsForward()
When true, the animation remains active after its active duration and evaluates to its end value.
|
static long |
hash_static() |
SCNAnimation |
init() |
SCNAnimation |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isAdditive()
When true the value specified by the animation will be "added" to
the current presentation value of the property to produce the new
presentation value.
|
boolean |
isAppliedOnCompletion()
When true, the animation is applied to the model tree once its active duration has passed.
|
boolean |
isCumulative()
The `cumulative' property affects how repeating animations produce
their result.
|
boolean |
isRemovedOnCompletion()
When true, the animation is removed from the render tree once its active duration has passed.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
java.lang.String |
keyPath()
The key-path describing the property to be animated for single-property animations, nil for animations targetting multiple nodes.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static SCNAnimation |
new_objc() |
double |
repeatCount()
The repeat count of the object.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAdditive(boolean value)
When true the value specified by the animation will be "added" to
the current presentation value of the property to produce the new
presentation value.
|
void |
setAnimationDidStart(SCNAnimation.Block_setAnimationDidStart value)
Called when the animation starts.
|
void |
setAnimationDidStop(SCNAnimation.Block_setAnimationDidStop value)
Called when the animation either completes its active duration or
is removed from the object it is attached to (i.e.
|
void |
setAnimationEvents(NSArray<? extends SCNAnimationEvent> value)
Specifies the animation events attached to the receiver.
|
void |
setAppliedOnCompletion(boolean value)
When true, the animation is applied to the model tree once its active duration has passed.
|
void |
setAutoreverses(boolean value)
When true, the object plays backwards after playing forwards.
|
void |
setBlendInDuration(double value)
Determines the receiver's blend-in duration.
|
void |
setBlendOutDuration(double value)
Determines the receiver's blend-out duration.
|
void |
setCumulative(boolean value)
The `cumulative' property affects how repeating animations produce
their result.
|
void |
setDuration(double value)
The duration of the animation in seconds.
|
void |
setFillsBackward(boolean value)
When true, the animation is active before its active duration and evaluates to its start value.
|
void |
setFillsForward(boolean value)
When true, the animation remains active after its active duration and evaluates to its end value.
|
void |
setKeyPath(java.lang.String value)
The key-path describing the property to be animated for single-property animations, nil for animations targetting multiple nodes.
|
void |
setRemovedOnCompletion(boolean value)
When true, the animation is removed from the render tree once its active duration has passed.
|
void |
setRepeatCount(double value)
The repeat count of the object.
|
void |
setStartDelay(double value)
The relative delay to start the animation, in relation to its parent animation if applicable.
|
void |
setTimeOffset(double value)
Additional offset in active local time.
|
void |
setTimingFunction(SCNTimingFunction value)
A timing function defining the pacing of the animation.
|
void |
setUsesSceneTimeBase(boolean value)
Determines whether the receiver is evaluated using the scene time or the system time.
|
static void |
setVersion_static(long aVersion) |
double |
startDelay()
The relative delay to start the animation, in relation to its parent animation if applicable.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
double |
timeOffset()
Additional offset in active local time.
|
SCNTimingFunction |
timingFunction()
A timing function defining the pacing of the animation.
|
boolean |
usesSceneTimeBase()
Determines whether the receiver is evaluated using the scene time or the system time.
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static SCNAnimation alloc()
public static SCNAnimation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public SCNAnimation.Block_animationDidStart_ret animationDidStart()
public SCNAnimation.Block_animationDidStop_ret animationDidStop()
public NSArray<? extends SCNAnimationEvent> animationEvents()
SCNAnimationEventpublic static SCNAnimation animationNamed(java.lang.String animationName)
animationName - The name of the animation to load.public static SCNAnimation animationWithCAAnimation(CAAnimation caAnimation)
Only CABasicAnimation, CAKeyframeAnimation and CAAnimationGroup are currently supported.
caAnimation - The CAAnimation to initialize from.public static SCNAnimation animationWithContentsOfURL(NSURL animationUrl)
animationUrl - The url to load.public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public boolean autoreverses()
public double blendInDuration()
When the blendInDuration is greater than zero, the effect of the animation progressively increase from 0% to 100% during the specified duration.
public double blendOutDuration()
When the blendOutDuration is greater than zero, the effect of the animation progressively decrease from 100% to 0% at the end of the animation duration.
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public double duration()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic boolean fillsBackward()
public boolean fillsForward()
public static long hash_static()
public SCNAnimation init()
public SCNAnimation initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public boolean isAdditive()
public boolean isAppliedOnCompletion()
public boolean isCumulative()
public boolean isRemovedOnCompletion()
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public java.lang.String keyPath()
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static SCNAnimation new_objc()
public double repeatCount()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setAdditive(boolean value)
public void setAnimationDidStart(SCNAnimation.Block_setAnimationDidStart value)
public void setAnimationDidStop(SCNAnimation.Block_setAnimationDidStop value)
public void setAnimationEvents(NSArray<? extends SCNAnimationEvent> value)
SCNAnimationEventpublic void setAppliedOnCompletion(boolean value)
public void setAutoreverses(boolean value)
public void setBlendInDuration(double value)
When the blendInDuration is greater than zero, the effect of the animation progressively increase from 0% to 100% during the specified duration.
public void setBlendOutDuration(double value)
When the blendOutDuration is greater than zero, the effect of the animation progressively decrease from 100% to 0% at the end of the animation duration.
public void setCumulative(boolean value)
public void setDuration(double value)
public void setFillsBackward(boolean value)
public void setFillsForward(boolean value)
public void setKeyPath(java.lang.String value)
public void setRemovedOnCompletion(boolean value)
public void setRepeatCount(double value)
public void setStartDelay(double value)
This property is bridged with CoreAnimations's beginTime. However, for top level animations, startDelay is relative to the current time (unlike CAAnimation's beginTime that is absolute). So if a CAAnimation has a non-zero beginTime, startDelay is initialized as caAnimation.beginTime - CACurrentMediaTime().
public void setTimeOffset(double value)
public void setTimingFunction(SCNTimingFunction value)
public void setUsesSceneTimeBase(boolean value)
A scene-time based animation is evaluated using the "sceneTime" value of the renderer that renders the scene. The "sceneTime" base is typically used by players or editors that need to preview, edit and being able to change the evaluation time.
SCNSceneSourceAnimationImportPolicyKeypublic static void setVersion_static(long aVersion)
public double startDelay()
This property is bridged with CoreAnimations's beginTime. However, for top level animations, startDelay is relative to the current time (unlike CAAnimation's beginTime that is absolute). So if a CAAnimation has a non-zero beginTime, startDelay is initialized as caAnimation.beginTime - CACurrentMediaTime().
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic double timeOffset()
public SCNTimingFunction timingFunction()
public boolean usesSceneTimeBase()
A scene-time based animation is evaluated using the "sceneTime" value of the renderer that renders the scene. The "sceneTime" base is typically used by players or editors that need to preview, edit and being able to change the evaluation time.
SCNSceneSourceAnimationImportPolicyKeypublic static long version_static()