Düzenle

Aracılığıyla paylaş


SCNSceneRenderer.PresentScene(SCNScene, SKTransition, SCNNode, Action) Method

Definition

Displays the provided scene.

[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)]
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

Parameters

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.

This parameter can be null.

completionHandler
Action

A handler to run after the scene is presented.

This parameter can be null.

Attributes

Applies to