Share via


GKRandomDistribution.GetDie(IntPtr) Method

Definition

Creates and returns a GKRandomDistribution for a die with the specified number of sides.

[Foundation.Export("distributionForDieWithSideCount:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static GameplayKit.GKRandomDistribution GetDie(IntPtr sideCount);
[<Foundation.Export("distributionForDieWithSideCount:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetDie : nativeint -> GameplayKit.GKRandomDistribution

Parameters

sideCount
IntPtr

nativeint

Returns

Attributes

Applies to