Upravit

Sdílet prostřednictvím


SCNSceneRenderer_Extensions.PresentScene 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

The instance on which this extension method operates.

scene
SCNScene

The scene to present.

transition
SKTransition

The transistion to use to present the scene.

pointOfView
SCNNode

The point of view to which to present the scene.

completionHandler
Action

A handler to run after the scene is presented.

Attributes

Applies to