Edytuj

Udostępnij za pośrednictwem


SKShapeNode.FromCircle(nfloat) Method

Definition

Creates a new circular shape node from a radius.

[Foundation.Export("shapeNodeWithCircleOfRadius:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKShapeNode FromCircle (nfloat radius);
static member FromCircle : nfloat -> SpriteKit.SKShapeNode

Parameters

radius
nfloat

Returns

Attributes

Applies to