Compartir a través de


SCNView.PresentScene(SCNScene, SKTransition, SCNNode, Action) Método

Definición

Muestra la escena proporcionada.

[Foundation.Export("presentScene:withTransition:incomingPointOfView:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, 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 PresentScene (SceneKit.SCNScene scene, SpriteKit.SKTransition transition, SceneKit.SCNNode pointOfView, Action completionHandler);
[Foundation.Export("presentScene:withTransition:incomingPointOfView:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, 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 PresentScene (SceneKit.SCNScene scene, SpriteKit.SKTransition transition, SceneKit.SCNNode pointOfView, Action completionHandler);
abstract member PresentScene : SceneKit.SCNScene * SpriteKit.SKTransition * SceneKit.SCNNode * Action -> unit
override this.PresentScene : SceneKit.SCNScene * SpriteKit.SKTransition * SceneKit.SCNNode * Action -> unit

Parámetros

scene
SCNScene

Escena que se va a presentar.

transition
SKTransition

Transistion que se va a usar para presentar la escena.

pointOfView
SCNNode

Punto de vista al que se va a presentar la escena.

completionHandler
Action

Controlador que se va a ejecutar después de que se presente la escena.

Atributos

Se aplica a