編輯

共用方式為


SKView.PresentScene Method

Definition

Overloads

PresentScene(SKScene, SKTransition)

Plays the transition and then begins rendering the scene and running the Sprite Kit animation loop.

PresentScene(SKScene)

Begins rendering the scene and running the Sprite Kit animation loop.

PresentScene(SKScene, SKTransition)

Plays the transition and then begins rendering the scene and running the Sprite Kit animation loop.

[Foundation.Export("presentScene:transition:")]
public virtual void PresentScene (SpriteKit.SKScene scene, SpriteKit.SKTransition transition);
abstract member PresentScene : SpriteKit.SKScene * SpriteKit.SKTransition -> unit
override this.PresentScene : SpriteKit.SKScene * SpriteKit.SKTransition -> unit

Parameters

scene
SKScene
transition
SKTransition
Attributes

Applies to

PresentScene(SKScene)

Begins rendering the scene and running the Sprite Kit animation loop.

[Foundation.Export("presentScene:")]
public virtual void PresentScene (SpriteKit.SKScene scene);
abstract member PresentScene : SpriteKit.SKScene -> unit
override this.PresentScene : SpriteKit.SKScene -> unit

Parameters

scene
SKScene

To be added.

This parameter can be null.

Attributes

Applies to