編輯

共用方式為


GKRandomDistribution.GetDie(nint) Method

Definition

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

[Foundation.Export("distributionForDieWithSideCount:")]
public static GameplayKit.GKRandomDistribution GetDie (nint sideCount);
static member GetDie : nint -> GameplayKit.GKRandomDistribution

Parameters

sideCount
System.System.IntPtr System.nativeint

Returns

Attributes

Applies to