Click or drag to resize

GridPoint2GetColor Method (ColorFunction)

Gets the color index for this point for the given color function.

Namespace:  Gamelogic.Grids2
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public int GetColor(
	ColorFunction colorFunction
)

Parameters

colorFunction
Type: Gamelogic.Grids2ColorFunction
The color function used to partition points.

Return Value

Type: Int32
An integer that represents this points "color".
See Also