Various extension methods to simplify use of RNGs.
- Namespace
- RandN
- Base Types
- object
Syntax
public static class RngExtensions
Methods
Name | Return Value | Summary |
---|---|---|
Create | TRng | Creates a new TRng using a seed created from seedingRng. static |
ShuffleInPlace | void | Shuffles a list using the in-place Fisher-Yates shuffling algorithm. static |
ShuffleInPlace | void | Shuffles a span using the in-place Fisher-Yates shuffling algorithm. static |