Share via


SCNSceneRenderer_Extensions.PresentSceneAsync Method

Definition

Displays the provided scene.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task PresentSceneAsync(this SceneKit.ISCNSceneRenderer This, SceneKit.SCNScene scene, SpriteKit.SKTransition transition, SceneKit.SCNNode? pointOfView);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PresentSceneAsync : SceneKit.ISCNSceneRenderer * 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

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