ChooseOne Method (Single[])

Project Mercury API

[This is preliminary documentation and is subject to change.]

Chooses a random item from the specified parameters and returns it.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static float ChooseOne(
	params float[] values
)
Visual Basic (Declaration)
Public Shared Function ChooseOne ( _
	ParamArray values As Single() _
) As Single
Visual C++
public:
static float ChooseOne(
	... array<float>^ values
)

Parameters

values
Type: array< System..::.Single >[]()[]

[Missing <param name="values"/> documentation for "M:ProjectMercury.RandomHelper.ChooseOne(System.Single[])"]

Return Value

[Missing <returns> documentation for "M:ProjectMercury.RandomHelper.ChooseOne(System.Single[])"]

See Also