Bewerken

Delen via


SKScene.FromSize(CGSize) Method

Definition

Creates a scene of the specified size.

[Foundation.Export("sceneWithSize:")]
public static SpriteKit.SKScene FromSize (CoreGraphics.CGSize size);
static member FromSize : CoreGraphics.CGSize -> SpriteKit.SKScene

Parameters

size
CGSize

Returns

Attributes

Applies to