Click or drag to resize

GeneratorUniformVector2InRect Method

Generates vectors uniformly distributed in a given rectangle.

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IGenerator<Vector2> UniformVector2InRect(
	Vector2 dimensions
)

Parameters

dimensions
Type: Vector2
The dimensions of the rectangle.

Return Value

Type: IGeneratorVector2
See Also