Share via


SCNNode.RemoveAnimation 方法

定义

重载

RemoveAnimation(String, nfloat)

删除由提供的 key标识的 动画,在数秒内 duration 将其淡出。

RemoveAnimation(NSString, nfloat)

删除由提供的 key标识的 动画,在数秒内 duration 将其淡出。

RemoveAnimation(NSString)

删除由提供的 key标识的动画。

RemoveAnimation(String)

删除由提供的 key标识的动画。

RemoveAnimation(String, nfloat)

删除由提供的 key标识的 动画,在数秒内 duration 将其淡出。

public void RemoveAnimation (string key, nfloat duration);
member this.RemoveAnimation : string * nfloat -> unit

参数

key
String
duration
nfloat

适用于

RemoveAnimation(NSString, nfloat)

删除由提供的 key标识的 动画,在数秒内 duration 将其淡出。

[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)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveAnimation (Foundation.NSString key, nfloat duration);
[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)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveAnimation (Foundation.NSString key, nfloat duration);
abstract member RemoveAnimation : Foundation.NSString * nfloat -> unit
override this.RemoveAnimation : Foundation.NSString * nfloat -> unit

参数

key
NSString
duration
nfloat

实现

属性

适用于

RemoveAnimation(NSString)

删除由提供的 key标识的动画。

[Foundation.Export("removeAnimationForKey:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveAnimation (Foundation.NSString key);
[Foundation.Export("removeAnimationForKey:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveAnimation (Foundation.NSString key);
abstract member RemoveAnimation : Foundation.NSString -> unit
override this.RemoveAnimation : Foundation.NSString -> unit

参数

key
NSString

实现

属性

适用于

RemoveAnimation(String)

删除由提供的 key标识的动画。

public void RemoveAnimation (string key);
member this.RemoveAnimation : string -> unit

参数

key
String

适用于