RandomExtensionsNextVector2TNumeric Method
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static Vector2N<TNumeric> NextVector2<TNumeric>(
this Random random
)
where TNumeric : struct, new(), INumeric<TNumeric>
<ExtensionAttribute>
Public Shared Function NextVector2(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
random As Random
) As Vector2N(Of TNumeric)
public:
[ExtensionAttribute]
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static Vector2N<TNumeric> NextVector2(
Random^ random
)
[<ExtensionAttribute>]
static member NextVector2 :
random : Random -> Vector2N<'TNumeric> when 'TNumeric : struct, new() and INumeric<'TNumeric>
- random Random
-
- TNumeric
Vector2NTNumericIn Visual Basic and C#, you can call this method as an instance method on any object of type
Random. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).