Поделиться через


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

Применяется к