Package apple.scenekit
Class SCNAnimation
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.scenekit.SCNAnimation
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject,SCNAnimation
public class SCNAnimation extends NSObject implements SCNAnimation, NSCopying, NSSecureCoding
SCNAnimation represents an animation that targets a specific key path. API-Since: 11.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSCNAnimation.Block_animationDidStart_retstatic interfaceSCNAnimation.Block_animationDidStop_retstatic interfaceSCNAnimation.Block_setAnimationDidStartstatic interfaceSCNAnimation.Block_setAnimationDidStop-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSCNAnimation(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static SCNAnimationalloc()static SCNAnimationallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@Nullable SCNAnimation.Block_animationDidStart_retanimationDidStart()Called when the animation starts.@Nullable SCNAnimation.Block_animationDidStop_retanimationDidStop()Called when the animation either completes its active duration or is removed from the object it is attached to (i.e.@Nullable NSArray<? extends SCNAnimationEvent>animationEvents()Specifies the animation events attached to the receiver.static @NotNull SCNAnimationanimationNamed(@NotNull java.lang.String animationName)Loads and returns the animation with the specified name in the current application bundle.static @NotNull SCNAnimationanimationWithCAAnimation(@NotNull CAAnimation caAnimation)bridge with Core Animation Returns a SCNAnimation initialized from a CAAnimation.static @NotNull SCNAnimationanimationWithContentsOfURL(@NotNull NSURL animationUrl)Loads and returns an animation loaded from the specified URL.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)booleanautoreverses()When true, the object plays backwards after playing forwards.doubleblendInDuration()Determines the receiver's blend-in duration.doubleblendOutDuration()Determines the receiver's blend-out duration.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()doubleduration()The duration of the animation in seconds.voidencodeWithCoder(@NotNull NSCoder coder)booleanfillsBackward()When true, the animation is active before its active duration and evaluates to its start value.booleanfillsForward()When true, the animation remains active after its active duration and evaluates to its end value.static longhash_static()SCNAnimationinit()SCNAnimationinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisAdditive()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.booleanisAppliedOnCompletion()When true, the animation is applied to the model tree once its active duration has passed.booleanisCumulative()The `cumulative' property affects how repeating animations produce their result.booleanisRemovedOnCompletion()When true, the animation is removed from the render tree once its active duration has passed.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)@Nullable java.lang.StringkeyPath()The key-path describing the property to be animated for single-property animations, nil for animations targetting multiple nodes.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static SCNAnimationnew_objc()doublerepeatCount()The repeat count of the object.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAdditive(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.voidsetAnimationDidStart(@Nullable SCNAnimation.Block_setAnimationDidStart value)Called when the animation starts.voidsetAnimationDidStop(@Nullable 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.voidsetAnimationEvents(@Nullable NSArray<? extends SCNAnimationEvent> value)Specifies the animation events attached to the receiver.voidsetAppliedOnCompletion(boolean value)When true, the animation is applied to the model tree once its active duration has passed.voidsetAutoreverses(boolean value)When true, the object plays backwards after playing forwards.voidsetBlendInDuration(double value)Determines the receiver's blend-in duration.voidsetBlendOutDuration(double value)Determines the receiver's blend-out duration.voidsetCumulative(boolean value)The `cumulative' property affects how repeating animations produce their result.voidsetDuration(double value)The duration of the animation in seconds.voidsetFillsBackward(boolean value)When true, the animation is active before its active duration and evaluates to its start value.voidsetFillsForward(boolean value)When true, the animation remains active after its active duration and evaluates to its end value.voidsetKeyPath(@Nullable java.lang.String value)The key-path describing the property to be animated for single-property animations, nil for animations targetting multiple nodes.voidsetRemovedOnCompletion(boolean value)When true, the animation is removed from the render tree once its active duration has passed.voidsetRepeatCount(double value)The repeat count of the object.voidsetStartDelay(double value)The relative delay to start the animation, in relation to its parent animation if applicable.voidsetTimeOffset(double value)Additional offset in active local time.voidsetTimingFunction(@NotNull SCNTimingFunction value)A timing function defining the pacing of the animation.voidsetUsesSceneTimeBase(boolean value)Determines whether the receiver is evaluated using the scene time or the system time.static voidsetVersion_static(long aVersion)doublestartDelay()The relative delay to start the animation, in relation to its parent animation if applicable.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()doubletimeOffset()Additional offset in active local time.@NotNull SCNTimingFunctiontimingFunction()A timing function defining the pacing of the animation.booleanusesSceneTimeBase()Determines whether the receiver is evaluated using the scene time or the system time.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static SCNAnimation alloc()
-
allocWithZone
public static SCNAnimation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animationDidStart
@Nullable public @Nullable SCNAnimation.Block_animationDidStart_ret animationDidStart()
Called when the animation starts.
-
animationDidStop
@Nullable public @Nullable 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. the layer). The 'completed' argument of SCNAnimationDidStopBlock is true if the animation reached the end of its active duration without being removed.
-
animationEvents
@Nullable public @Nullable NSArray<? extends SCNAnimationEvent> animationEvents()
Specifies the animation events attached to the receiver.- See Also:
SCNAnimationEvent
-
animationNamed
@NotNull public static @NotNull SCNAnimation animationNamed(@NotNull @NotNull java.lang.String animationName)
Loads and returns the animation with the specified name in the current application bundle.- Parameters:
animationName- The name of the animation to load.
-
animationWithCAAnimation
@NotNull public static @NotNull SCNAnimation animationWithCAAnimation(@NotNull @NotNull CAAnimation caAnimation)
bridge with Core Animation Returns a SCNAnimation initialized from a CAAnimation. Only CABasicAnimation, CAKeyframeAnimation and CAAnimationGroup are currently supported.- Parameters:
caAnimation- The CAAnimation to initialize from.
-
animationWithContentsOfURL
@NotNull public static @NotNull SCNAnimation animationWithContentsOfURL(@NotNull @NotNull NSURL animationUrl)
Loads and returns an animation loaded from the specified URL.- Parameters:
animationUrl- The url to load.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
autoreverses
public boolean autoreverses()
When true, the object plays backwards after playing forwards. Defaults to NO.
-
blendInDuration
public double blendInDuration()
Determines the receiver's blend-in duration. When the blendInDuration is greater than zero, the effect of the animation progressively increase from 0% to 100% during the specified duration.
-
blendOutDuration
public double blendOutDuration()
Determines the receiver's blend-out duration. 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.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
duration
public double duration()
The duration of the animation in seconds. Defaults to 0.
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
fillsBackward
public boolean fillsBackward()
When true, the animation is active before its active duration and evaluates to its start value. Defaults to NO.
-
fillsForward
public boolean fillsForward()
When true, the animation remains active after its active duration and evaluates to its end value. Defaults to NO.
-
hash_static
public static long hash_static()
-
init
public SCNAnimation init()
-
initWithCoder
public SCNAnimation initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isAdditive
public 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. The addition function is type-dependent, e.g. for affine transforms the two matrices are concatenated. Defaults to NO.
-
isAppliedOnCompletion
public boolean isAppliedOnCompletion()
When true, the animation is applied to the model tree once its active duration has passed. Defaults to NO.
-
isCumulative
public boolean isCumulative()
The `cumulative' property affects how repeating animations produce their result. If true then the current value of the animation is the value at the end of the previous repeat cycle, plus the value of the current repeat cycle. If false, the value is simply the value calculated for the current repeat cycle. Defaults to NO.
-
isRemovedOnCompletion
public boolean isRemovedOnCompletion()
When true, the animation is removed from the render tree once its active duration has passed. Defaults to YES.
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPath
@Nullable public @Nullable java.lang.String keyPath()
The key-path describing the property to be animated for single-property animations, nil for animations targetting multiple nodes. defaults to nil. The key-path uses the KVC syntax. It's also possible to target a specific sub-node with the following syntax: /.property1.property2.field (field is optional, is the name of the targeted node).
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static SCNAnimation new_objc()
-
repeatCount
public double repeatCount()
The repeat count of the object. May be fractional. Defaults to 0.
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAdditive
public 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. The addition function is type-dependent, e.g. for affine transforms the two matrices are concatenated. Defaults to NO.
-
setAnimationDidStart
public void setAnimationDidStart(@Nullable @Nullable SCNAnimation.Block_setAnimationDidStart value)Called when the animation starts.
-
setAnimationDidStop
public void setAnimationDidStop(@Nullable @Nullable 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. the layer). The 'completed' argument of SCNAnimationDidStopBlock is true if the animation reached the end of its active duration without being removed.
-
setAnimationEvents
public void setAnimationEvents(@Nullable @Nullable NSArray<? extends SCNAnimationEvent> value)Specifies the animation events attached to the receiver.- See Also:
SCNAnimationEvent
-
setAppliedOnCompletion
public void setAppliedOnCompletion(boolean value)
When true, the animation is applied to the model tree once its active duration has passed. Defaults to NO.
-
setAutoreverses
public void setAutoreverses(boolean value)
When true, the object plays backwards after playing forwards. Defaults to NO.
-
setBlendInDuration
public void setBlendInDuration(double value)
Determines the receiver's blend-in duration. When the blendInDuration is greater than zero, the effect of the animation progressively increase from 0% to 100% during the specified duration.
-
setBlendOutDuration
public void setBlendOutDuration(double value)
Determines the receiver's blend-out duration. 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.
-
setCumulative
public void setCumulative(boolean value)
The `cumulative' property affects how repeating animations produce their result. If true then the current value of the animation is the value at the end of the previous repeat cycle, plus the value of the current repeat cycle. If false, the value is simply the value calculated for the current repeat cycle. Defaults to NO.
-
setDuration
public void setDuration(double value)
The duration of the animation in seconds. Defaults to 0.
-
setFillsBackward
public void setFillsBackward(boolean value)
When true, the animation is active before its active duration and evaluates to its start value. Defaults to NO.
-
setFillsForward
public void setFillsForward(boolean value)
When true, the animation remains active after its active duration and evaluates to its end value. Defaults to NO.
-
setKeyPath
public void setKeyPath(@Nullable @Nullable java.lang.String value)The key-path describing the property to be animated for single-property animations, nil for animations targetting multiple nodes. defaults to nil. The key-path uses the KVC syntax. It's also possible to target a specific sub-node with the following syntax: /.property1.property2.field (field is optional, is the name of the targeted node).
-
setRemovedOnCompletion
public void setRemovedOnCompletion(boolean value)
When true, the animation is removed from the render tree once its active duration has passed. Defaults to YES.
-
setRepeatCount
public void setRepeatCount(double value)
The repeat count of the object. May be fractional. Defaults to 0.
-
setStartDelay
public void setStartDelay(double value)
The relative delay to start the animation, in relation to its parent animation if applicable. Defaults to 0. 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().
-
setTimeOffset
public void setTimeOffset(double value)
Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. Defaults to 0.
-
setTimingFunction
public void setTimingFunction(@NotNull @NotNull SCNTimingFunction value)A timing function defining the pacing of the animation. Defaults to nil indicating linear pacing.
-
setUsesSceneTimeBase
public void setUsesSceneTimeBase(boolean value)
Determines whether the receiver is evaluated using the scene time or the system time. Defaults to NO. 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.- See Also:
SCNSceneSourceAnimationImportPolicyKey
-
setVersion_static
public static void setVersion_static(long aVersion)
-
startDelay
public double startDelay()
The relative delay to start the animation, in relation to its parent animation if applicable. Defaults to 0. 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().
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
timeOffset
public double timeOffset()
Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. Defaults to 0.
-
timingFunction
@NotNull public @NotNull SCNTimingFunction timingFunction()
A timing function defining the pacing of the animation. Defaults to nil indicating linear pacing.
-
usesSceneTimeBase
public boolean usesSceneTimeBase()
Determines whether the receiver is evaluated using the scene time or the system time. Defaults to NO. 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.- See Also:
SCNSceneSourceAnimationImportPolicyKey
-
version_static
public static long version_static()
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-