IGKRandom Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Interface pour les générateurs de nombres pseudo-aléatoires 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
- Dérivé
- Attributs
- Implémente
Propriétés
Handle |
Handle (pointeur) vers la représentation d’objet non managée. (Hérité de INativeObject) |
Méthodes
GetNextBool() |
Récupère une |
GetNextInt() |
Retourne un entier dans les limites du générateur. |
GetNextInt(nuint) |
Retourne un entier inférieur à la limite supérieure du générateur et également inférieur à |
GetNextUniform() |
Retourne une valeur à virgule flottante aléatoire. |