Partager via


SCNAnimatable_Extensions.SetSpeed(ISCNAnimatable, nfloat, NSString) Méthode

Définition

Les développeurs ne doivent pas utiliser cette méthode déconseillée. Les développeurs doivent utiliser « SCNAnimationPlayer.Speed » à la place.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SCNAnimationPlayer.Speed' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SCNAnimationPlayer.Speed' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SCNAnimationPlayer.Speed' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'SCNAnimationPlayer.Speed' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetSpeed (this SceneKit.ISCNAnimatable This, nfloat speed, Foundation.NSString key);
static member SetSpeed : SceneKit.ISCNAnimatable * nfloat * Foundation.NSString -> unit

Paramètres

This
ISCNAnimatable

Instance sur laquelle cette méthode d’extension fonctionne.

speed
nfloat
key
NSString
Attributs

S’applique à