![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
Lidgren Network Library documentation |
NetRandom..::..NextBool Method |
NetRandom Class See Also Send Feedback |
Generates a single random bit.
This method's performance is improved by generating 32 bits in one operation and storing them
ready for future calls.
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public bool NextBool() |
Visual Basic |
---|
Public Function NextBool As Boolean |
Visual C++ |
---|
public: bool NextBool() |
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetRandom.NextBool"]