共用方式為


GKRandomSource.GetNextUniform 方法

定義

傳回範圍 [0.0, 1.0] 中的隨機 Single 值。

[Foundation.Export("nextUniform")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual float GetNextUniform ();
abstract member GetNextUniform : unit -> single
override this.GetNextUniform : unit -> single

傳回

實作

屬性

適用於