Click or drag to resize

PointyHexPointIsInsideHexagon Method (Int32)

Whether this point is in the hexagon with the given radius and center at the origin. The origin is considered the hexagon with zero radius. see http://devmag.org.za/2013/08/31/geometry-with-hex-coordinates/ Since version 1.3

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public bool IsInsideHexagon(
	int radius
)

Parameters

radius
Type: SystemInt32

Return Value

Type: Boolean
See Also