Share via


SKScene.FromSize(CGSize) Method

Definition

[Foundation.Export("sceneWithSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKScene FromSize(CoreGraphics.CGSize size);
[<Foundation.Export("sceneWithSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromSize : CoreGraphics.CGSize -> SpriteKit.SKScene

Parameters

size
CGSize

Returns

Attributes

Applies to