Editar

Compartir a través de


SCNAnimatable.RemoveAnimation Method

Definition

Overloads

RemoveAnimation(NSString)

Removes the specified animation.

RemoveAnimation(NSString, nfloat)

Deprecated. Developers should use RemoveAnimationUsingBlendOutDuration(NSString, nfloat).

RemoveAnimation(NSString)

Removes the specified animation.

[Foundation.Export("removeAnimationForKey:")]
public abstract void RemoveAnimation (Foundation.NSString key);
abstract member RemoveAnimation : Foundation.NSString -> unit

Parameters

key
NSString

The key for the animation to remove.

Implements

Attributes

Applies to

RemoveAnimation(NSString, nfloat)

Deprecated. Developers should use RemoveAnimationUsingBlendOutDuration(NSString, nfloat).

[Foundation.Export("removeAnimationForKey:fadeOutDuration:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RemoveAnimationUsingBlendOutDuration' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RemoveAnimationUsingBlendOutDuration' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RemoveAnimationUsingBlendOutDuration' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'RemoveAnimationUsingBlendOutDuration' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public abstract void RemoveAnimation (Foundation.NSString key, nfloat duration);
abstract member RemoveAnimation : Foundation.NSString * nfloat -> unit

Parameters

key
NSString
duration
nfloat

Implements

Attributes

Applies to