Share via


SCNNode.GetAnimation Method

Definition

Overloads

Name Description
GetAnimation(NSString)

Developers should not use this deprecated method. Developers should use 'GetAnimationPlayer' instead.

GetAnimation(String)

Returns the animation that is identified by the supplied key.

GetAnimation(NSString)

Developers should not use this deprecated method. Developers should use 'GetAnimationPlayer' instead.

[Foundation.Export("animationForKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreAnimation.CAAnimation? GetAnimation(Foundation.NSString key);
[<Foundation.Export("animationForKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAnimation : Foundation.NSString -> CoreAnimation.CAAnimation
override this.GetAnimation : Foundation.NSString -> CoreAnimation.CAAnimation

Parameters

key
NSString

Returns

Implements

Attributes

Applies to

GetAnimation(String)

Returns the animation that is identified by the supplied key.

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

Parameters

key
String

The key of the animation to get.

Returns

Applies to