Compartir a través de


SCNNode.GetAnimation Método

Definición

Sobrecargas

GetAnimation(NSString)

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "GetAnimationPlayer" en su lugar.

GetAnimation(String)

Devuelve la animación identificada por el proporcionado key.

GetAnimation(NSString)

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "GetAnimationPlayer" en su lugar.

[Foundation.Export("animationForKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetAnimationPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetAnimationPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'GetAnimationPlayer' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreAnimation.CAAnimation GetAnimation (Foundation.NSString key);
[Foundation.Export("animationForKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetAnimationPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetAnimationPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'GetAnimationPlayer' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreAnimation.CAAnimation GetAnimation (Foundation.NSString key);
abstract member GetAnimation : Foundation.NSString -> CoreAnimation.CAAnimation
override this.GetAnimation : Foundation.NSString -> CoreAnimation.CAAnimation

Parámetros

key
NSString

Devoluciones

Implementaciones

Atributos

Se aplica a

GetAnimation(String)

Devuelve la animación identificada por el proporcionado key.

public CoreAnimation.CAAnimation GetAnimation (string key);
member this.GetAnimation : string -> CoreAnimation.CAAnimation

Parámetros

key
String

Devoluciones

Se aplica a