SCNSceneRenderer_Extensions.PresentScene(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode, Action) SCNSceneRenderer_Extensions.PresentScene(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode, Action) Method

Definition

Displays the provided scene.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static void PresentScene (this SceneKit.ISCNSceneRenderer This, SceneKit.SCNScene scene, SpriteKit.SKTransition transition, SceneKit.SCNNode pointOfView, Action completionHandler);
static member PresentScene : SceneKit.ISCNSceneRenderer * SceneKit.SCNScene * SpriteKit.SKTransition * SceneKit.SCNNode * Action -> unit

Parameters

This
ISCNSceneRenderer ISCNSceneRenderer

The instance on which this extension method operates.

scene
SCNScene SCNScene

The scene to present.

transition
SKTransition SKTransition

The transistion to use to present the scene.

pointOfView
SCNNode SCNNode

The point of view to which to present the scene.

completionHandler
Action Action

A handler to run after the scene is presented.

Applies to