Share via


SKRange.CreateConstant(NFloat) Method

Definition

Creates a zero-width range at the specified value.

[Foundation.Export("rangeWithConstantValue:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKRange CreateConstant(System.Runtime.InteropServices.NFloat value);
[<Foundation.Export("rangeWithConstantValue:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateConstant : System.Runtime.InteropServices.NFloat -> SpriteKit.SKRange

Parameters

value
NFloat

Returns

Attributes

Applies to