Share via


SCNView.PresentSceneAsync(SCNScene, SKTransition, SCNNode) Method

Definition

Displays the provided scene.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task PresentSceneAsync(SceneKit.SCNScene scene, SpriteKit.SKTransition transition, SceneKit.SCNNode? pointOfView);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PresentSceneAsync : SceneKit.SCNScene * SpriteKit.SKTransition * SceneKit.SCNNode -> System.Threading.Tasks.Task
override this.PresentSceneAsync : SceneKit.SCNScene * SpriteKit.SKTransition * SceneKit.SCNNode -> System.Threading.Tasks.Task

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.

Returns

A task that represents the asynchronous PresentScene operation

Implements

Attributes

Remarks

The PresentSceneAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to