Szerkesztés

Megosztás a következőn keresztül:


SCNSceneRenderer.PresentSceneAsync(SCNScene, SKTransition, SCNNode) Method

Definition

Caution

Use 'SCNSceneRenderer_Extensions.PresentSceneAsync' instead.

Displays the provided scene.

[System.Obsolete("Use 'SCNSceneRenderer_Extensions.PresentSceneAsync' instead.")]
public virtual System.Threading.Tasks.Task PresentSceneAsync (SceneKit.SCNScene scene, SpriteKit.SKTransition transition, SceneKit.SCNNode pointOfView);
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

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