IGKRandom Interfaccia

Definizione

Interfaccia per generatori di numeri pseudo-casuali di GameplayKit.

[Foundation.Protocol(Name="GKRandom", WrapperType=typeof(GameplayKit.GKRandomWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IGKRandom : IDisposable, ObjCRuntime.INativeObject
type IGKRandom = interface
    interface INativeObject
    interface IDisposable
Derivato
Attributi
Implementazioni

Proprietà

Handle

Handle (puntatore) alla rappresentazione dell'oggetto non gestito.

(Ereditato da INativeObject)

Metodi

GetNextBool()

Recupera un true valore o false .

GetNextInt()

Restituisce un numero intero all'interno dei limiti del generatore.

GetNextInt(nuint)

Restituisce un numero intero minore del limite superiore del generatore e minore di upperBound.

GetNextUniform()

Restituisce un valore a virgola mobile casuale.

Si applica a