IGKRandom Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface for GameplayKit pseudo-random number generators.
[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
- Derived
- Attributes
- Implements
Properties
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
GetNextBool() |
Retrieves a |
GetNextInt() |
Returns an integer within the bounds of the generator. |
GetNextInt(nuint) |
Returns an integer that is less than the upper bound of the generator and also less than |
GetNextUniform() |
Returns a random floating-point value. |