public void SetAlphamaps(int x, int y, float[,,] map)
{
if (map.GetLength(2) != this.alphamapLayers)
{
object[] args = new object[] { this.alphamapLayers };
throw new Exception(UnityString.Format("Float array size wrong (layers should be {0})", args));
}
this.Internal_SetAlphamaps(x, y, map.GetLength(1), map.GetLength(0), map);
}