SK3DNode.FromViewportSize(CGSize) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("nodeWithViewportSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SK3DNode FromViewportSize(CoreGraphics.CGSize viewportSize);
[<Foundation.Export("nodeWithViewportSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromViewportSize : CoreGraphics.CGSize -> SpriteKit.SK3DNode
Parameters
- viewportSize
- CGSize
Returns
- Attributes