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

返回

实现

属性

适用于